Python Programming

(Redirected from Python Programming/Orphaned Pages)

This book describes Python, an open-source general-purpose interpreted programming language available for a broad range of operating systems. 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.

ContentsEdit

IntroEdit

Overview  
Getting Python  
Setting it up 
Interactive mode  
Self Help  

BasicsEdit

Creating Python programs  
Variables and Strings  
Basic syntax  
Sequences   (Strings, Lists, Tuples, Dictionaries, Sets)
Data types  
Numbers  
Strings  
Lists  
Tuples  
Dictionaries  
Sets  
Basic Math   -- redundant to "Operators"
Operators  
Control Flow  
Decision Control  
Conditional Statements  
Loops  
Functions  
Scoping  
Input and output  
Files  
Text  
Modules  
Classes  
Exceptions  
Errors  
Source Documentation and Comments  
Idioms  

AdvancedEdit

Decorators  
Context Managers  
Reflection  
Metaclasses  
Namespace  
Tips and Tricks  

ModulesEdit

Standard library modulesEdit

Standard Library  
Regular Expression  
External commands
XML Tools  
Email  
Threading  
Sockets  
GUI Programming  
Tkinter
CGI interface  
WSGI web programming  
Extracting info from web pages  
Internet  
Networks  
Math

Third-party modulesEdit

Databases -- to be merged with the following chapter
Database Programming  
numpy
Game Programming in Python  
Qt4  
Dbus  
pyFormex
matplotlib
Sorted Container Types

Writing extension modulesEdit

Extending with C  
Extending with C++  
Extending with Pyrex  
Extending with ctypes  
Extending with Perl  

AppendicesEdit

Popularity
Links
Authors

See alsoEdit