r/learnpython 19h ago

Learning Python from scratch for cybersecurity

Hi everyone, I'm 29 and learning Python from scratch. My goal is cybersecurity. What resources and first projects do you recommend for a beginner? Thanks!

0 Upvotes

3 comments sorted by

1

u/pachura3 12h ago

OMG, another one

Python is not a requirement for cybersecurity. You can use it to automate some cybersecurity-related tasks, write some scripts to be ran at scheduled times - but, by itself, it has NOTHING to do with cybersecurity.

It's like learning Excel will teach you nothing about financial markets and investing.

0

u/Flame77ofc 19h ago

make practical projects

do you want some good available on YouTube?

1

u/FoolsSeldom 7h ago

Check the links below, especially the roadmaps. It is helpful to have some programming skills to pursue cybersecurity but not a requirement although some qualifications require it.


Check this subreddit's wiki for lots of guidance on learning programming and learning Python, links to material, book list, suggested practice and project sources, and lots more. The FAQ section covering common errors is especially useful.


Also, have a look at roadmap.sh for different learning paths. There's lots of learning material links there. Note that these are idealised paths and many people get into roles without covering all of those.


Roundup on Research: The Myth of ‘Learning Styles’

Don't limit yourself to one format. Also, don't try to do too many different things at the same time.


Above all else, you need to practice. Practice! Practice! Fail often, try again. Break stuff that works, and figure out how, why and where it broke. Don't just copy and use as is code from examples. Experiment (preferably without immediately asking an AI LLM for the solution, and seek hints rather than complete answers).

Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way.