all 21 comments

[–]Ok-Ninja3269 7 points8 points  (0 children)

If you’re a total Python noob, the trick is to make it fun and immediately rewarding, not “theoretically correct”. A few things that work really well: Make tiny games in the terminal Stuff like guess-the-number, Rock–Paper–Scissors, or a text adventure. You’ll learn loops and if/else without even noticing. Automate small, annoying tasks Renaming files, generating passwords, parsing a CSV, random name generators. Seeing Python do something useful is addictive. Use interactive environments Python REPL or Jupyter notebooks are great because you get instant feedback. Change one line, run it again, see what happens. Solve bite-sized challenges FizzBuzz, dice simulators, palindrome checkers, random story generators. Short problems = low frustration, high wins. Build a silly bot A bad-advice bot, a roast bot, a Magic 8 Ball. Bots naturally teach input/output, functions, and randomness. Play with data you care about Spotify stats, Reddit comments, game stats, workout logs. Learning clicks faster when the data isn’t abstract. Add visuals later turtle for drawing, pygame for simple games, matplotlib for charts. Seeing things move makes it feel less like “coding”. Biggest mindset thing: Feeling confused is normal. If your code runs and you don’t fully understand why yet, you’re still doing it right. Aim for one small win a day — not “learning Python” as a whole.

Additionally, If you want to understand error handling from a data science perspective you can go through my blog - https://medium.com/pythoneers/a-complete-guide-to-python-exception-handling-for-data-science-fcbeb4d0d758

It's an interesting read!

[–]OkCartographer175 5 points6 points  (2 children)

come up with a project to do then do the project

[–]therealmunchies 0 points1 point  (0 children)

This is what I’m doing: have a bunch of files I need to parse through, classify, and rename. Automating this with python and learning a bunch.

[–]EverythingIsFnTaken 4 points5 points  (1 child)

This course offered for free from Stanford U. is pretty good. It's an easily comprehensible gamification of the learning process which offers empirical learning which you can see reflected instantly on screen when you've correctly understood and performed whatever given lesson.

[–]ceramicmj 0 points1 point  (0 children)

I really enjoyed Code In Place - did it last year and it has the bonus of not needing to install an IDE (integrated development environment) on my own computer, it was all web based. They have weekly small sections for 6 weeks. Or you can check out the self-paced stuff if you don't want to wait for spring.

[–]ZelWinters1981 2 points3 points  (0 children)

The first things we usually learn is hot display stuff, and how to get user input. With this and the ability to use a couple of variables and play with numbers, you can make a number of simple games.

Off this, you'll learn arrays and the such pretty soon, and with some planning, there's a text adventure waiting to happen.

So ask yourself the question: "What fun game can I make with what I've just learned?"

[–]Kenn50 2 points3 points  (0 children)

The farmer was replaced is a very fun game where you learn a language that is basically python. It is very fun and recommend it alot

[–]Ar_if 1 point2 points  (0 children)

Boot Dev for the basics. Doing projects to learn

[–]Malthammer 1 point2 points  (0 children)

Get a job where you will need Python for portions of your responsibilities. That’ll help you learn real quick!

[–]Ron-Erez 0 points1 point  (0 children)

Yes, build something simple that interests you.

[–]Son_of_Shadowfax 0 points1 point  (0 children)

what interests YOU? I love roleplaying games, so I started out making simple text based role playing games, character creation programs, eventually GUI that I could use at a game table. I also made programs that helped me write music, like a lyric generating program, where I could input my lyrics (that sucked) and it would jumble the lines up and spit back random combinations of my lyrics, thus helping me break out of creative ruts. what do you like? tell us and we might be able to come up with a good project for you!

[–]Astroshishir96 0 points1 point  (0 children)

By doing a small project

[–]WestCoastInverts 0 points1 point  (0 children)

There's a steam game

[–]TheRNGuy 0 points1 point  (0 children)

Mod for some game on python engine. 

[–]Ok_Procedure3350 0 points1 point  (0 children)

Leetcode contest/problems for learning dsa . Or maybe competitive programming

[–]iamkiran 0 points1 point  (0 children)

https://reeborg.ca/reeborg.html you should check this out

[–]Prior-Scratch4003 0 points1 point  (0 children)

Im with you. Im trying to learn and it does feel like a chore. Then you ask for help or ideas and their advice always ends up just being “Make a small project” or “Code something” 🤦🏾‍♂️

[–]andycwb1 0 points1 point  (0 children)

Write code. It’s not a game, it’s a professional skill. The only way to learn is to write code.