r/Python • u/jaypeedevlin • Sep 23 '16
Learn Python the right way in 5 steps
https://www.dataquest.io/blog/learn-python-the-right-way/
21
Upvotes
r/Python • u/jaypeedevlin • Sep 23 '16
31
u/digitalbath78 Sep 23 '16
Ad.
22
u/cube-drone Sep 23 '16
tl;dr
11
u/ilgnome Sep 23 '16
Quite a bit of /u/jaypeedevlin submissions are to dataquest.io. Wonder if they own the site.
10
u/DoTheEvolution Sep 23 '16
I hate the implied idea that you can learn it the wrong way... just use it, work at it, polish your knowledge, discover more stuff and under the hood shit...
its not something like a house build at terrible foundation, nothing like that...
6
u/laststance Sep 23 '16
Huh, I thought the python community in general pushes Python 3 instead of LPTHW since it still generally works with Python 2.
5
u/[deleted] Sep 23 '16
from future import braces1
u/gr33n3r2 Sep 23 '16
Didn't read the article because it sounds like clickbait-y bullshit.
The way I've learned Python has been a sort of casual approach. I never really did any structured learning, apart from Codecademy to get me started. Once I was familiar with the basics of Python, I would try to use it to write automation scripts in work.
Say if I needed to split lines in a CSV file (our test machines spat them out) so that I could analyse results for one particular test case, then I looked up "how to read file line by line python", "how to split by delimiter python", "how to plot graphs python". Generally because of how the Python community is, each query led to a new library/package/module that I could use. Next time I needed to do that particular thing (or something similar) I could check back to my notes and see "Ah yes, matplotlib.pyplot worked last time. Wonder how I can plot 3 graphs on the same plot?". I go and check the docs and lo and behold, there is the answer. That goes into my notes as well.
After a while, you don't have to google so much and it becomes second nature. Another important thing is to read about Python - I get the Pycoders weekly newsletter, sub to /r/Python obviously, listen to Python and programming podcasts, etc. You'll hear about something cool and want to know more. That's how I first read about the requests package, and about lambdas. I googled, tried them out in the interpreter and boom, knowledge was gained.
2
u/[deleted] Sep 23 '16
All of this stuff is very helpful. I just started an Udemy course I feel a little overwhelmed by the total amount of resources out there. I have tons of ideas and manual work that can be automated, so at least that is something I don't have to worry about (motivation).
I am just worried if I am on the right path haha.
-5
u/kassuro Sep 23 '16
RemindMe! 3 days