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