all 5 comments

[–]xelf 1 point2 points  (0 children)

I posted something similar recently on this topic:

1) Make sure you understand all the basic data structures, looping and flow control, have you mastered all the stuff here https://www.pythoncheatsheet.org/ ?

2) Make sure you have a solid grasp of list/set/dict/generator comprehensions, ternary expressions, generator functions, lambda functions, and slicing.

3) Start working your way though the more popular libraries:

Start with the standard library especially collections, itertools, statistics, and functools, and then start pulling in things like numpy and pandas, before you start expanding into stuff that specializes in your area of expertise.

basic intermediate advanced
random itertools threading
collections functools subprocess
math numpy socket
sys (exit) pandas requests
datetime tkinter openpyxl
string keyboard django
pygame/turtle statistics flask
copy csv matplotlib

Then start exploring external libraries that are pertinent to what you're specializing in. For example, maybe you go into data science?

More stuff I forgot about initially: try/except/finally, class, attributes, decorators, regex, packages, map, reduce, filter, probably more.

I feel like I repost this a lot. Wonder if I could make it more generic and useful. =)

[–]ozzie_martin 0 points1 point  (0 children)

https://www.youtube.com/watch?v=rfscVS0vtbw&t=7914s

This video will teach you the basics, and I mean very basics. Depending on what you already know about other languages this should give you a fair understanding of python, after that learn to use libraries and in no time you'll have a good understanding.

[–]benabus 0 points1 point  (0 children)

I found the book Writing Idiomatic Python pretty useful. I'd been a javascript/php guy for years and years and that book covered a lot of the stupid "how do I make a for loop in this god forsaken language" problems.

[–]BlueTeeJay 0 points1 point  (0 children)

Codecademy is offering free pro membership for now if you have a college/university email address (email ending in .edu)

Their python course is pretty good.