Responder Web Framework Mini-course Transcripts
Chapter: Welcome to the course
Lecture: Python requirements and Python versions
0:00 Now we're almost ready to start writing some code
0:02 and talking about this framework.
0:03 But before we do, let's just make sure everyone's on a
0:05 level playing field.
0:06 There's a couple things I want to share with you.
0:08 A couple things I want to give you.
0:09 And, also want to make sure you have what you need
0:12 to take this course.
0:13 So the first thing I'm want to start with is
0:15 what version of Python do you need.
0:17 Well of course we're on modern Python.
0:20 That in my mind I guess, is probably like
0:22 Python 3.5 and above.
0:24 But you're actually going to need Python 3.6 'cause
0:26 I believe we use some f-strings.
0:28 f-strings are a new way to format strings in Python
0:30 which are great.
0:31 Also it has async and await which came in 3.5
0:34 but I believe some of the features that were added
0:37 also required a little bit later.
0:39 So let's just say, 3.6 or later, maybe even 3.7.
0:42 Newer is better. You have to have Python installed
0:45 and it has to be Python 3.5 at an absolute minimum.
0:49 Ah, could be higher still. You may even wonder all
0:52 "That's great Michael I, really want to have Python installed
0:55 but do I on this particular machine".
0:57 I don't know. Well you can always ask.
0:59 You can go to your terminal in macOS or Linux
1:02 and type python3 -V and it will tell you, one of two things.
1:06 Either the version number or Python 3 not found.
1:09 If Python 3 not found, that means it's either not installed
1:12 or just not in your path.
1:13 But, you can see I got Python 3.7.2
1:15 that's almost the latest.
1:17 Just the day I started pressing record here, 3.7.3 came out.
1:22 Pretty much the same. On Windows, ah, python3 -V
1:26 sometimes works and you can get 3.7.2.
1:30 Depending on how you've installed Python.
1:32 You might have to type just python, without the 3, -V
1:35 and see what you get.
1:37 And especially on Windows because until recently
1:39 could not target the version by the executable name.
1:43 You have to make sure your path is just right
1:45 so you can type "where python" on Windows I think
1:49 and "which python" on Mac and Linux.
1:51 If that's wrong, you can switch it.
1:52 It's either which or where
1:53 to show you where it's come from and if there is more
1:55 it'll show you which, which is in the path and where
1:57 you know which one comes first in the path and so on.
2:00 So if you have a new enough version of Python
2:03 super, let's rock and roll.
2:04 If you don't, refer you over to
2:10 These guys have a really nice set of steps on giving this OS
2:14 here's how you get Python there
2:15 here's the trade off's and so on.
2:17 And, they're keeping it nice and up to date, so ah
2:21 instead of showing you how install and maybe
2:23 you know, six months there's some other way like
2:25 Windows 10 now just offered Python 3.7 in the store
2:29 which is a better way that getting it off
2:31 python.org for example.
2:32 So you can check out what they've got here.
2:34 This is pretty helpful and of course, you know
2:37 get modern Python all set up if you don't have it
2:38 and let's roll.