Python is a general purpose programming language used for several courses at the university. We will be using Python 3.7. Python is available in EHS 117 and EHS 119, along with a full-featured integrated development environment.

Depending on your operating system, you may already have Python 3 installed. From a shell ("Terminal" on OS X or "Command Prompt" on Windows), type python3 at the prompt and press enter. If you receive a "command not found" or similar error, you'll need to install Python.


You may also download and install Python on your personal machine (available for Windows, Linux, and OS X). Take care to download the correct version number (e.g., Python 3.7.3, see above) for your operating system. Note that a slightly newer version is typically ok; check with your instructor to confirm.

Getting Started

After confirming you can run python3 on your computer, proceed to the next step.


Run a shell. At the shell prompt, type python3 and press enter. Verify that the correct Python version is reported.

For example, on macOS:

$ python3
Python 3.7.3 (default, Apr 23 2017, 18:09:27)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

If any errors occur, verify that python3 is on your path. See Python Setup and Usage documentation for additional instructions. There are helpful tips for each operating system:

First Steps

Type the following at the >>> prompt, pressing enter after each line:

name = 'world'
print('Hello, ' + name + '!')

Verify that your program runs without errors and displays the expected output.

For example:

Hello, world!

This page was last modified on 2019-08-28 at 07:54:33.

Copyright © 2018–2020 George Fox University. All rights reserved.