Python examples: Difference between revisions

From AstroEdWiki
Jump to navigation Jump to search
(Created page with "This page contains examples and links to programs used for our Research Methods - Programming with Python short course.")
 
No edit summary
Line 1: Line 1:
This page contains examples and links to programs used for our Research Methods - Programming with Python short course.
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

Revision as of 06:42, 7 February 2013

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