Actions

Python examples

From AstroEd

Revision as of 06:42, 7 February 2013 by WikiSysop (talk | contribs)

This page contains examples and links to programs used for our Research Methods - Programming with Python short course.

Very simple Python

Start a Python interactive session using the "python" command to get a >>> prompt.

Type

x=1

and you'll see

1