Getting Started

Opening the Terminal Window

  1. Open the menu by clicking the leftmost icon on the bottom of the screen.
  2. Select Utilities and then Terminal.

Using the Interpreter in Interactive Mode

  1. Open a terminal window.
  2. Type python to enter interactive mode.
  3. Type the python code you wish to run.
  4. Use Ctrl-D to exit the interpreter.

Using the Interpreter in Non-Interactive Mode

  1. Open a text editor (e.g., KEdit):
    1. Open the menu by clicking the leftmost icon on the bottom of the screen.
    2. Select Utilities, then Editors, then KEdit.
  2. Type the code you wish to run and the save it in an appropriate location. Use the .py extension for your file name.
  3. Open a terminal window and navigate to the directory where you saved your file.
  4. Type python filename, replacing filename with the actual name of your file, to run your program.
  5. Return to the KEdit window to fix any errors reported by the interpreter. Save your file and repeat the previous step to run again.

Sami Rollins