Python Python Basics Meet Python Running Scripts

The version of the Python associated with this video of "running scripts"

What is the version of the Python associated with this video of "running scripts", l just started learning and l don't know which version l'm using

1 Answer

Louise St. Germain
Louise St. Germain
19,395 Points

Hello Hazel,

As of right now, Python 3.6.4 is running on Treehouse Workspaces. An easy way to check is to just type "python" (without quotes) in the console, and press return. This will start up Python. It will write a few introductory lines before giving you the Python prompt (">>>"). The first line of the introductory text shows the version of Python. (To exit out of Python, press Ctrl+D to exit, or type "exit()" with no quotation marks.)

treehouse:~/workspace$ python                                                                                                       
Python 3.6.4 (default, Nov 26 2018, 23:39:19)                                                                                       
[GCC 5.4.0 20160609] on linux                                                                                                       
Type "help", "copyright", "credits" or "license" for more information.                                                              

The video right after the one you are writing about is all about this Python shell: You will find more details that might be helpful for you. You will also see in that video that it was also running Python 3.6.4 when the video was being filmed, so everything should still be working exactly the same in your Workspace.

If you have Python on your local computer and would like to check the version, you can also repeat the same procedure in a console or command prompt window.

I hope this helps!