Async Techniques and Examples in Python Transcripts
Chapter: Setup and following along
Lecture: Do you have Python 3?

Login or purchase this course to watch this video and the rest of the course contents.
0:00 In this short chapter, we're going to talk about
0:01 setting up your computer so that you can follow along.
0:04 Do you have the right version of Python?
0:06 What editors are you going to use?
0:08 Can you get the source code
0:09 to get started on some of the examples?
0:11 Things like that.
0:12 Obviously this is a Python course
0:14 so you're going to need Python.
0:16 But, in particular, you need Python 3.5 or higher.
0:21 Now I would recommend the latest, Python 3.7.
0:24 Maybe you're on a Linux machine, and it
0:25 auto-updates as part of the OS, and that's probably 3.6.
0:29 But you absolutely must have Python 3.5
0:32 because that's when some of the primary
0:34 async language features were introduced
0:37 namely, the async and await keywords.
0:41 Do you have Python, and if you do, what version?
0:44 Well, the way you answer that question varies by OS.
0:47 If you are on Mac or you're on Linux
0:49 you just type 'python3 -V'
0:52 and it will show you the Python version.
0:54 In this screenshot, I had Python 3.6.5
0:56 but in fact, 3.7 is out now
0:57 so you might as well go ahead and use that one.
1:00 But if you type this and you get
1:01 an answer like 3.5 or above, you're good.
1:04 If it errors out, you probably don't have Python.
1:07 I'll talk about how to get it in a sec.
1:09 Windows, it's a little less straightforward.
1:12 You can type 'where python'
1:14 and the reason you want to do that is
1:16 there's not a way to target Python 3 in particular
1:18 it just happens to be the first python.exe
1:21 that lands in your path.
1:23 So by typing 'where' you can see all the places
1:25 and down here you can see I typed 'python -V' again
1:27 same command but without the '3'
1:29 and I got Python 3.6.5, the Anaconda version.
1:32 That would be fine for this course
1:34 Anaconda's distribution should be totally fine.
1:37 But, again, has to be 3.5 or above.