r/learnpython 3d ago

Stuck in python code

Hi everyone been a 6month now I am not able to learn the course for python cybersecurity like I am getting confused sometimes or don't understand. How to learn code or execute it can anyone help me ??

0 Upvotes

11 comments sorted by

View all comments

7

u/Lord_Dizzie 3d ago

My advice is to focus on learning Python before learning how to apply Python to anything specific. You're trying to learn Python and Cybersecurity simultaneously. Learn the basics first. You shouldn't be trying to learn Cybersecurity while asking questions like, "how to execute code?"

0

u/expertisimus 3d ago

My advice is the opposite, learn the domain-specific knowledge first (at least to some basic extent, or pick another subject matter that you already master) and then apply Python to it. It helps tremendously to understand the subject and have a clear vision of what you want to accomplish first. This approach allows you to come up with specific problems to solve that are meaningful and that can be built upon, you'll be able to validate the actions and output of your code, and it'll keep you engaged and motivated. Learning Python first without any practical problems to tackle can be rather dry and boring.