Page Contents
Python Language Overview
- Scripting language? Programming language.
- Objectly Oriented (largely)
- multiple inheritance
- polymorphic
- High level language:
- memory management
- first-class data structures
- infinite precision integers, floats, complexes
- unbounded associative arrays (aka mappings eg dictionaries)
- unboundedstrings
- unbounded lists
- unbounded tuples
- first-class functions
more data structures via extensions:
- sets and graphs
- multidimensional arrays
- disk-based lookup tables
- AVL trees
- etc
- exception handling very well integrated into the language
- data type emulation (roll your own sequences, mappings,
numbers, files, etc)
- reflection
- Programming in the large:
- modules
- packages
- exception handling
- development tools (debugger, profiler)
- Extensible via C or C++
- Embeddable
- Portable
- interpeter is available for many OS/hardware
combinations
- jpython: another Python implemented in (and interactive
with) Java
- compiled Python bytecode is platform independent
- Extensive library
- Free:
- open source
- excellent Usenet support
Assignment Statement
Data Types
Numeric Types
Sequence Types
Tuples
Strings
Lists
Sequence Methods