At the time of this recording, we have Python two dot seven dot ten installed.
By increasing the version number, the developers of the language are communicating that they've changed something and it could impact how you use the language. Programming languages have version numbers associated with them, because over time, new features are added. Instead, it's referring to displaying the result of a command on your screen.
Now, typically, when we say print out in programming, we don't mean go grab a piece of paper from the printer. The first thing you notice is that it prints out the version of Python that we're running on the machine. Let me go ahead and zoom in a bit so you can see what I'm doing. To do that, we're going to type Python, all in lowercase letters, and then hit Enter. From here, we can check what version of Python we have installed. Let's go ahead and close down our Finder window. You can also do this with a shortcut by typing command + space, and then spelling out terminal and hitting Enter. To open up Terminal, we're going to go to our Finder, then applications. Terminal is an application that lets you run commands to explore directories, execute scripts, and yes, work with Python. To check what version of Python is installed, we're going to open a Terminal window.
#CODING IN PYTHON ON MAC HOW TO#
If you're using Windows, please skip to the next video, as I'll walk you through how to get set up. The Mac operating system ships with the version of Python already installed. If you're using a Mac computer, getting Python setup is very easy.