Python on or machines

To use phyton from your or account you need first to type:
 module load soft/python
This works on all the Solaris and Linux machines. You can avoid typing the module load command by adding it to youe .cshrc file. You can start python in three ways:
  1. You type:
    This starts Python in the interactive mode. In interactive mode you type to the Python interpreter, which will read and execute your commands.
  2. If you want to execute the commands in a file, let's say in the file, type
    . Python will read the file, execute it, and exit.
  3. If instead you want to load a file, execute it, and then start the interactive mode, type
     python -i

Getting started with Python

Information about the Python language

Basic concepts in Python

Things we will learn:
Copyright: © 2000-2007 by the Regents of the University of Minnesota
Department of Computer Science and Engineering. All rights reserved.
Comments to: Maria Gini
Changes and corrections are in red.