r/learnpython • u/Nacho-Nacho • May 15 '19
Am programmer, stuck on plane for 9 hours, wanting to pick up Python. What do you recommend?
First a little context. I'm flying across the ocean in about a month, so going to be stuck in this metal tube for 9 hours. I thought it would be a good idea to make use of that time and pick up some Python skills. Since I'm a C/C++ programmer I am already familiar with programming in general, but would like to get your recommendations for suitable off-line resources to get up to speed with Python3. Obviously I'll be carrying my MBP, with a Ubuntu VM, so hacking on some code is going to happen anyway, might as well be Python3. Thanks!
2
u/Lewistrick May 15 '19
If you google "fluent python" you'll find a pdf in one of the first results. That's a good book for experienced programmers but novices in Python.
1
u/Nacho-Nacho May 16 '19
From the preface:
"Who This Book Is For
This book was written for practicing Python programmers who want to become proficient in Python 3.
...
Who This Book Is Not For
If you are just learning Python, this book is going to be hard to follow."
So I probably should be reading this on my way back :)
3
u/Lewistrick May 16 '19
I think you will be able to follow it for the most part because you have experience programming. But you might be right. I didn't read all of it yet either.
1
2
u/4312348784188126934 May 15 '19
If you already do C and C++ then I personally would use youtube-dl and download Corey Schafers python intro playlist. Then just follow along and start getting your head around it.
1
u/Nacho-Nacho May 16 '19
Got them. Look like nice bite sized pieces of info on various topics. Will probably use this with a proper reference manual on the side. Thanks.
1
u/J3c8b May 15 '19
Maybe pick up some PDFs based around learning python. I recommend automate the boring stuff with python. There’s also lots of other threads and comments talking about good books as well.
1
u/Nacho-Nacho May 16 '19
I was hoping to get some good references matching my background. Have been looking around, didn't find it yet. Will go digging through this subreddit.
1
u/CloudNineK May 15 '19
I recommend this to all my friends. If you're interested in learning python with a previous CS background do the Hackerrank python section. It teaches you the pythonic way to do things and provides fun interactive challenges.
1
u/Nacho-Nacho May 16 '19
Not really looking for a new job or a competition. Thanks, but going to skip this one.
0
u/FunDeckHermit May 15 '19
Do the Django Girls Tutorial, great intro into Django and Python.
1
u/Nacho-Nacho May 16 '19
Django Girls Tutorial
Had a quick look, bit too beginner for my taste. Also not looking at Django right now. Thanks, but going to skip this one.
2
u/C2-H5-OH May 15 '19
Django girls is where I learned it as well. They introduced me to pythonanywhere as well to host the app I made, if you can even call it that
50
u/RedditIsAMistake May 15 '19 edited May 15 '19
What the...
You're a C/C++ programmer
Your flight is a month away
You can't find this kind of resource on your own in a matter of seconds (which would be a humiliating admission from any C/C++ programmer I've ever known, including myself. I googled "learn python offline".)
The fact that you're carrying a "MBP" is "obvious"
Right now this has an absolutely insane number of upvotes for 3:30am ET. At this time of night the number of upvotes would be preposterous for the highest-quality posts this sub gets, let alone bafflingly strange ones....
It has to be some kind of parody/spam. Let's see what gets promoted in the comments!