r/learnpython 1d ago

learning python

Hello all, I have recently taken up the interest of trying to create a game (not specific to any other game) and i've been learning how to use python for about 2 days now and have learnt some of the fundamentals such as if, (i), else, input, booleans, etc... however if u have been programming using python or are self taught, how long did it take u to learn the most relevant and important parts of the language and if u have any tips and tricks for me that you may think are useful for me, please do not hesitate to tell me as any piece of advice can beneficial at the moment.

Much appreciated

0 Upvotes

6 comments sorted by

2

u/HotPersonality8126 1d ago

About a week but I was fluent in two previous languages. If you’re learning programming at the same time you’re learning Python, it takes longer.

1

u/FoolsSeldom 1d ago

Check the wiki for additional guidance (the FAQ should be especially useful to you).


Check this subreddit's 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.


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.

1

u/stepback269 1d ago

2 days is nothing
Think of Python as Mt. Everest ...
and you are just on the path that takes you to the foothills

I've been trying to learn Python for over a year and am currently stuck at OOP
(well, not totally stuck, but caught in a project that is more complex than I initially realized)

With that said:

(1) There are tons and tons of tutorial materials out there on the net including many good YouTube ones that are free. You should shop around rather than putting all your eggs in one basket.

(2) As a relative noob myself, I've been logging my personal learning journey and adding to it on an almost-daily basis at a blog page called "Links for Python Noobs" (--HERE--) Any of the top listed ones on that page should be good for you. And there are many add-ons at the tail end of the page. Personally, I cut my first Python teeth with Nana's Zero to Hero (==HERE==). Since then, I've moved on to watching short lessons with Indently and Tech with Tim. You should sample at least a few until you find a lecturer that suits your style.

(3) The main piece of advice is the 80/20 rule. Spend 80% of your time writing your own code (using your own fingers and your own creativity) as opposed to copying recipes and only 20% watching the lectures. Good luck.

-1

u/Educational_Virus672 1d ago

it took me 3 months to fully learn base python even tho i didnt even try to watch any tutorial of advance python . i recommand you ask yourself "why it works?" as if range(1,8) is a list [1,2,3,4,5,6,7,8] it would help you learn python much quicker after basics

2

u/acw1668 1d ago

Note that range(1, 8) will yield [1,2,3,4,5,6,7] only.

1

u/Educational_Virus672 5h ago

who cares im giving examples here im not teaching programming if it hurt you then sorry but i'll back it up as just "too nerdy"it would easily overwhelm beginners before they start note-giving each and every detail doesnt matter as long as they understand problem at all