Note: If you are hoping to use python in your Intro CS class, you have a few options available to you. You can install it on your personal computer, or you could use the CS Virtual Machine or x2go. CS installs a large number of python packages that aren’t included in the default python install. Some of these are difficult to install; you might find it easier to use one of our prebuilt tools.
Installing Python On Your Home Computer
At this point, if you’re using Mac or Linux, you’re done.
If you’re using Windows, you will want to pay very close attention to the options in the dialog pane. In particular, you want to check the “Install Launcher for all users” and the “Add Python 3.8 to PATH” options. A preview of this pane can be found in the upper right corner of this web page.
If, when the installation finishes, you are prompted to disable path length limit, please do so.
To test the installation:
- Open Terminal.app if you are on a Mac, or a “Command Prompt” if you are on Windows.
- Type “python” without the double quotes.
- You should see a python prompt; try entering “1+1”, if you get “2” then everything is running correctly.
If you are looking for a windows editor that has more functionality then you might try Atom, which is freely available from Atom.io
If you are on a Chromebook or a Tablet, then you can not install python directly on your machine, but you could use a web based environment such as codenvy.io. Unfortunately, codenvy.io doesn’t let you do run any graphical programs; if you need to use use PIL or PyGame, then you will still need do your coding the the lab for that assignment. We have documented how to use codenvy.io on the Carleton Wiki. You will need to log into the wiki to see that documentation.
If you run into trouble, please contact Mike Tie (firstname.lastname@example.org, x4067, CMC305).