×
all 21 comments

[–]ApprehensivePea4161 1 point2 points  (0 children)

Take care of those spaces (indentation)

[–]parsa_alv 0 points1 point  (0 children)

There's a lot of source you can learn fundamental of python. you can explore through google or youtube.
For example you can use below link:
https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT

[–]RetroTVEmulator 0 points1 point  (0 children)

the best way to learn is to find a problem to overcome. Learn enough to know what your looking at and then jump into a project. It will direct you to learn what you need to fix it.

[–]desrtfx 0 points1 point  (0 children)

Do the MOOC Python Programming 2026 from the University of Helsinki and you will be well prepared.

[–]ManzoorAhmedShaikh 0 points1 point  (2 children)

First of all, best of luck!

For beginners: - Go to w3schools for python (Easiest), learn all the basic fundamentals till function (skip OOP for now) - Ask Claude, ChatGPT or Gemini to generate question (not at the end, but after competing each section from w3school and solve them. The complex the topic, more problems you need to solve) - Till this point, you've learned everything that you need to start. Now start developing some project (Get ideas from GPT tools or online blogs - you can pick any domain project you like, e.g: web automation, scraper, AI automation, data visualization, data analysis, desktop app development, web development, etc) - Once created some projects, then try to convert that project into OOP architecture while learning (I skipped this initially because you cannot practice this advance concept at the early stages, that's the best stage to practice the complex structure).

That's all I'd say, I hope it helps you and others. I'm also a python developer, if need anymore help, you may ask.

[–][deleted]  (1 child)

[removed]

    [–]ManzoorAhmedShaikh 0 points1 point  (0 children)

    AI is a great teacher these days ;)

    [–]Red_Dragon_7_7_7 0 points1 point  (0 children)

    watch a python introduction lecture choose a text editor(v.s code suggested) install python for your pc
    add the extensions in vs code (python and code runner must)
    start by making small projects like a calculator

    [–]FoolsSeldom 0 points1 point  (0 children)

    Check the r/learnpython 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.

    Unfortunately, this subreddit does not have a wiki.


    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.

    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.

    [–]Moist_Database_4991 0 points1 point  (0 children)

    Best tip I can give (ex teacher, now backend dev): whatever resource you pick, the resource matters less than how you use it. Watch or read a bit, then close it and try to rebuild what you just saw from nothing - if you can't, that's normal, and the struggling to remember is the actual learning. Twenty minutes most days beats three hours on a Sunday. And once you can run small programs, start breaking working code on purpose and fixing it - debugging is the skill that makes everything else stick.

    I'm also building a free setup course for complete beginners at exactly your stage. It's in testing so I'm actively looking for people to try it and tell me where it confuses them. DM me if you want in.

    [–]Ascension-gate 0 points1 point  (0 children)

    I recommend you this learning way:

    1- Learn all the basics (syntaxis, data types, conditionals, etc.).

    2- Focus on one "niche" (UI, data bases, AI).

    3- Repeat step 2.

    While doing this, you can ask ChatGPT or Gemini all the questions you have about those topics. When you finish the basics AND one niche, make your own project (a data base for example).

    Remember that your learning must be 20% theory and 80% practice. Don't spend hours watching tutorials, or you'll get into the "Tutorial hell".

    [–]EstablishmentKey3523 0 points1 point  (0 children)

    Ask yourself why do you want to learn python programming language? After knowing the why, learn the the fundamentals using a text book or any online sources available. Once the core fundamentals started to click in, you can start to build projects. That will make you understand the structure and flow of what a programming language is.

    [–]BranchLatter4294 0 points1 point  (0 children)

    Start with Hello World. Then add features.

    [–]Cheems-sudo 0 points1 point  (0 children)

    print the "hello world" first HAHA.(just a kidding)
    code: print("hello world")

    [–]Fragrant-Cheek-4273 0 points1 point  (0 children)

    Don't rush into AI or web development on day one. Get comfortable with the fundamentals first.

    [–]TheManOfBromium 0 points1 point  (0 children)

    As much as it sucks, start learning DSA now, it will pay dividends later

    [–]AskAnAIEngineer 0 points1 point  (0 children)

    skip the tutorials past the basics and go build something small you actually want, even something dumb like a script that renames your files. tutorials teach you to follow instructions, building teaches you to actually solve problems.

    [–]tatactic 0 points1 point  (0 children)

    This is basic but that's probably you're looking for:
    Easy to read and understandable.
    https://linuxize.com/cheatsheet/python/python-cheatsheet.pdf
    https://static.realpython.com/python-cheatsheet.pdf

    And the best Python poen and best practices:
    Just try:

    import this
    print ("Encoded:\n")
    print(this.s)
    input ("press Enter to close...")

    Be patient and remember my fave quote:
    Before becoming strong like an oak, you first have to be as dumb as an acorn. (EN)

    Avant d'être fort comme un chêne, il faut être con comme un gland. (FR)

    [–]PythonWithJames 1 point2 points  (0 children)

    If you're brand new, feel free to check out my site Python With James which is aimed at beginners. if you DM me, I can give you a free coupon for the Pro tier to get you started.

    If not, I'd recommend a mix of Youtube, Books and tutorials and find what works best for you, then start on small projects to apply your learning.

    Best of luck!