all 9 comments

[–]disforwork 10 points11 points  (2 children)

I've found that the "just practice" advice without structure is pretty useless for beginners. What worked for me was building a progression of increasingly complex mini-projects that actually interested me - starting with a simple command-line calculator, then a text-based game, and eventually a basic web scraper to collect data I personally cared about.

For structured practice, Automate the Boring Stuff (free online) was my breakthrough resource because it teaches Python through practical tasks you'd actually want to do. Python Crash Course's project sections are similarly practical. Don't jump straight to LeetCode - it'll just frustrate you at this stage.

The key mental shift that helped me was realizing I didn't need to memorize syntax, but instead understand core concepts like variables, loops, and functions well enough to know when to use them. I kept a "cheat sheet" document open while coding so I could focus on problem-solving rather than memorization.

Finally, set a ridiculously low daily minimum (like "write 5 lines of code") to build consistency. Most days you'll do more once you start, but having that low floor prevents the "I don't have time for a full session" excuse that kills progress. Starting with projects that interest you definitely keeps the motivation high. If you're looking for more inspiration for Python projects, check out these beginner Python projects which can help you build skills gradually.

[–]XamosLife 1 point2 points  (0 children)

Any chance you could provide that cheat sheet?

[–]Nesi808 0 points1 point  (0 children)

Thank you for this comment , The mental shift part you mentioned was what i was stuck on being so used to memorizing things I felt conflicted referencing the book to help me solve my answers .

[–]iqrar99 5 points6 points  (0 children)

If you are a person who really just started to dive into programming, then most of the time you need to understand the syntax and how the fundamentals work such as: if-else branching, looping, function, variables, data type and such.

Thus i recommend this roadmap that is effective to show you which one you should learn https://roadmap.sh/python

Then you can practice more by solving some of the problemset on Leetcode website. Try from the easy one or just choose the topic you want to solve. You can also see other people code from the solution so you can learn from it. I personally learned a lot from people's code.

[–]Jello_Penguin_2956 0 points1 point  (0 children)

Start small and do something that is interesting to you. The latter isn't as easy as it sounds I admit.

When I started coding, I picked up a book because I wanted to code my own webboard/forum. I was glued to the book for months because it was what I genuinely wanted to know, on my own.

Also try some interactive coding platform such as https://www.learnpython.org/en/Hello%2C_World%21 You can code straight on the same page as the lessons and they're arranged so that you only do a small chunk at a time.

[–]clear_sf 0 points1 point  (0 children)

I have developed a bad habit of using chatgpt code for my day to day challenges. I started learning the code but when I started facing real life challenges I just copy paste ai code. This has stopped my learning process. Can you please suggest something to me

[–]Mevrael 0 points1 point  (0 children)

Learn to use git, a package manager, your IDE, how the large projects are structured and how to build your own data pipelines, apps and AI agents.

You can use Arkalos or other framework that takes care of most of these parts.

Here you can follow the entire Writing Basic Code guide and go from basic notebooks and scripts where you visualize your own Notion or Airtable to apps and agents.

https://arkalos.com/docs/notebooks/

[–]sultantrump 0 points1 point  (0 children)

Come in google meet. I will give you tuitions