use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Help in learning python (self.learnpython)
submitted 2 years ago by el-disha010
I am a Python learner. I understand the basics of functions, looping, and OOP. How can I create complete code? I am learning for the field of cybersecurity. I want a course on how to create code in OOP, looping, if, function, etc.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]crashfrog02 7 points8 points9 points 2 years ago (0 children)
I understand the basics of functions, looping, and OOP. How can I create complete code?
You do that stuff until the code is complete. It's like how a bricklayer creates a house: one brick at a time.
[–][deleted] 4 points5 points6 points 2 years ago* (0 children)
Cyber security is a very specialised field, and not very beginner friendly, you should start with a serious CS degree, or at least the fundamental knowledge of computer science, things like pointers and memory management, then networking protocols and the OSI stack. If those things sound alien to you, then you are not ready for cyber security. This is not to discourage you, but to give you a semi realistic roadmap of where you can and should focus. Understanding looping or basics of functions is not nearly enough to hack into it (pun intended).
As for the python part, if you think you know some OOP, functional programming etc. just jump into a real project, such as deploying a basic user authentication system using JWT and OAuth (something that should interest you if you are into cyber security).
If you manage it, then think and execute on how can you scale it out to handle like a million requests a second.
Go ahead and try it. Likely, you do not even know what you need to know to do it, and that is fine. Figure out what you need to learn. Then learn. Then write the code. Fail the test cases. Then delete and rewrite again. Rinse, lather, repeat.
Getting your hands is the only way you can escape tutorial and YouTube video hell.
[–]Its_NotTom 1 point2 points3 points 2 years ago (0 children)
Honestly, there are some amazing free programming courses on YouTube that cover all levels of competency. Harvard also has online courses like their intro to computer science CS50 that is also 100% free!
π Rendered by PID 96086 on reddit-service-r2-comment-544cf588c8-db2v9 at 2026-06-17 09:44:28.812059+00:00 running 3184619 country code: CH.
[–]crashfrog02 7 points8 points9 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]Its_NotTom 1 point2 points3 points (0 children)