Python Programming
From Wikibooks, open books for an open world
This book describes Python, an open-source general-purpose interpreted programming language. Python has distributions available for Microsoft Windows, Apple Mac OS X, GNU/Linux, BSD, web browser environments (NCLab, Sage) and many other platforms. There are currently three major implementations: the standard implementation written in C, Jython written in Java, and IronPython written in C# for the .NET environment.
Contents[edit]
Intro[edit]
Basics[edit]
- Creating Python programs
- Variables and Strings
- Basic syntax
- Sequences (Strings, Lists, Tuples, Dictionaries, Sets)
- Data types
- Basic Math -- redundant to "Operators"
- Operators
- Flow control
- Decision Control
- Functions
- Decorators
- Scoping
- Input and output
- Files
- Text
- Modules
- Modules and how to use them
- Classes
- MetaClasses
- Exceptions
- Errors
- Source Documentation and Comments
- Namespace
- Tips and Tricks
Modules[edit]
Standard library modules[edit]
- Standard Library
- Regular Expression
- XML Tools
- Threading
- Sockets
- GUI Programming
- WSGI web programming
- Extracting info from web pages
- Internet
- Networks
Third-party modules[edit]
- Databases -- to be merged with the following chapter
- Database Programming
- numpy
- Game Programming in Python
- Qt4
- Dbus
- pyFormex
- matplotlib
- Natural Language Toolkit
Writing extension modules[edit]
Appendices[edit]
See also[edit]
- Non-Programmer's Tutorial for Python 2.6
- Non-Programmer's Tutorial for Python 3
- Python as a scripting language in GIMP