Next / Previous / Contents / TCC Help System / NM Tech homepage

2.1. Using Python in Windows

If you are using Python at the NM Tech Computer Center (TCC), you can get conversational mode from StartAll ProgramsActiveState ActivePython 2.5Python Interactive Shell.

To write a program:

  1. StartAll ProgramsActiveState ActivePython 2.5PythonWin Editor.

  2. Use FileNew, select Python Script in the pop-up menu, and click OK. This will bring up an edit window.

  3. Write your Python program in the edit window, then use FileSave As... to save it under some file name that ends in “.py”.

  4. To run your program, use FileRun. In the “Run Script” popup, enter the name of your program in the field labeled Script File, then click OK.

The output will appear in the “Interactive Window”.