411 REFERENCE · Wikibooks
Python Programming
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
This book describes Python, an open-source general-purpose interpreted programming language available for the most popular operating systems. The current versions are 3.x while versions 2.x are no longer supported, since 2020. This book describes primarily the versions 3.x, but does at times reference versions 2.x.
There are a few implementations of Python 3 (all of which also support Python 2):
CPython, the standard implementation written in C.
PyPy, a JIT-compiled version written in RPython (a subset of Python).
IronPython, a C# implementation that runs on the .NET environment.
Nuitka, a Python 3 to C 11 transpiler.
Jython, a Java implementation is also available, however it only supports Python 2.
Contents
Python Programming simple
Intro
Python_Programming_eBook_Reader.pdf
/Overview/ 75% Aug 6, 2006
/Getting Python/ 75% Aug 6, 2006
/Development Environments/25% Feb 13, 2007
/Interactive mode/ 75% Aug 6, 2006
/Self Help/ 25% Dec 15, 2008
Basics
/Creating Python programs/ 75% Aug 6, 2006
/Variables and Strings/ 100% Aug 7, 2007
/Basic syntax/ 75% Aug 6, 2006
/Sequences/ 75% Aug 10, 2010 (Strings, Lists, Tuples, Dictionaries, Sets)
/Data types/ 75% Aug 6, 2006
/Numbers/ 75% Aug 6, 2006
/Strings/ 75% Aug 6, 2006
/Lists/ 75% Aug 6, 2006
/Tuples/ 75% Aug 6, 2006
/Dictionaries/ 75% Aug 6, 2006
/Sets/ 75% Aug 6, 2006
/Basic Math/ 50% Mar 19, 2007 -- redundant to "Operators"
/Operators/ 75% Aug 6, 2006
/Control Flow/ 75% Aug 6, 2006
/Decision Control/ 100% Dec 1, 2008
/Conditional Statements/ 100% Dec 1, 2008
/Loops/ 50% Mar 27, 2009
/Functions/ 75% Aug 6, 2006
/Scoping/ 25% Aug 6, 2006
Input and Output 75% Aug 6, 2006
/Files/ 50% Aug 6, 2006
/Modules/ 75% Aug 6, 2006
/Classes/ 75% Aug 6, 2006
/Exceptions/ 75% Aug 6, 2006
/Errors/ 25% Jul, 2008
/Source Documentation and Comments/ 25% Mar 2, 2009
/Idioms/ 00% Apr 11, 2014
/Package management/
/Python 2 vs. Python 3/
Advanced
/Decorators/ 25% Dec 16, 2008
/Context Managers/ 50% April 10, 2014
/Reflection/ 25% April 10, 2014
/Metaclasses/ 75% Aug 6, 2006
/Performance/
/PyPy/
/Cython/
/Command-line one-liners/
/Tips and Tricks/ 25% Aug 6, 2006
Modules
Standard library modules
/Standard Library/ 00% Feb 10, 2009
/Regular Expression/ 75% Aug 6, 2006
/External commands/
/XML Tools/ 25% Aug 9, 2010
/Email/ 25% Feb 21, 2009
/Threading/ 25% Aug 6, 2006
/Sockets/ 25% Aug 9, 2010
/GUI Programming/ 50% Aug 9, 2010
/Tkinter/
/CGI interface/ 50% Aug 15, 2014
/WSGI web programming/ 00% Aug 6, 2006
/Internet/ 75% Feb 10, 2009
/Networks/ 00% Aug 6, 2006
/Math/
Third-party modules
/Databases/ -- to be merged with the following chapter
/Database Programming/ 25% Aug 9, 2010
/numpy/
/Game Programming in Python/ 25% Aug 6, 2006
Qt4 75% Feb 10, 2009
/Dbus/ 00% Jan 25, 2009
/pyFormex/
/matplotlib/
/Sorted Container Types/
/Excel/
/MS Word/
Writing extension modules
/Extending with C/ 50% Aug 6, 2006
/Extending with C++/ 25% Aug 6, 2006
/Extending with Pyrex/ 00% Aug 9, 2010
/Extending with ctypes/ 25% Aug 9, 2010
/Extending with Perl/ 25% Aug 9, 2010
Appendices
/Popularity/
/Links/
/Authors/
/Library Modules/
/Naming conventions/
See also
Topic:Python Python
Non-Programmer's Tutorial for Python 2.6
Non-Programmer's Tutorial for Python 3
Python as a scripting language in GIMP
__NOTOC__
python programming language
P
75%