A Quick Tour of Python
Up:
PyRAF Documentation Index
Next:
Contents
A Quick Tour of Python
Perry Greenfield & Richard L. White
Space Telescope Science Institute
Email:
help@stsci.edu
Abstract:
This document serves as a whirlwind overview of the basics of Python. We hope it will give adventurous PyRAF users a better idea of what is going on in the Python environment.
Contents
1 Python is Dynamic
2 Braces? We Don't Need No Stinking Braces!
3 Python Data Structures
3.1 Strings
3.2 Lists
3.3 Mutability
3.4 Tuples
3.5 Dictionaries
4 Truth and Consequences
5 Control Constructs
6 Modules and Namespaces
7 Objects, Classes and What They Mean to You
8 Defining Functions
9 But Wait! There's More!
10 Python Documentation and Books
10.1 Books
10.2 Online Documentation
About this document ...
A Quick Tour of Python
Up:
PyRAF Documentation Index
Next:
Contents
Questions or comments? Contact
help@stsci.edu
Documented updated on 2002 May 3