Python Programming
From Wikibooks, open books for an open world
(Redirected from Programming:Python)
Python is 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. There are two common versions currently in use: 2.x and 3.x. This book describes primarily version 2, but does at times reference changes in version 3.
Contents[edit]
Getting Started[edit]
- Interactive mode
- Self Help
- Editing and Running Python Code
- Setting it up -- redundant to 'Editing ad Running Python Code'
- Creating Python programs
Fundamentals[edit]
- Basic syntax
- Variables and Strings
- Sequences (Strings, Lists, Tuples, Dictionaries, Sets)
- Data types
- Operators
- Basic Math -- redundant to "Operators"
- Control Flow
- Decision Control
- Input and output
- Files
Code Reuse[edit]
- Functions
- Scoping
- Modules
- Modules and how to use them
- Classes
- Exceptions
- Errors
- Source Documentation and Comments
- Idioms
Advanced[edit]
Technical Details[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