
Learn Python
Get flash to fully experience Pearltrees
The Python Standard Library — Python v2.7 documentation
While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is distributed with Python. It also describes some of the optional components that are commonly included in Python distributions. Python’s standard library is very extensive, offering a wide range of facilities as indicated by the long table of contents listed below. The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. Some of these modules are explicitly designed to encourage and enhance the portability of Python programs by abstracting away platform-specifics into platform-neutral APIs.This is a short introduction to the art of programming, with examples written in the programming language Python . (If you already know how to program, but want a short intro to Python, you may want to check out my article Instant Python .) This article has been translated into Italian , Polish , Japanese , Serbian , Brazilian Portuguese , Dutch , Czech , and Belarusian . This page is not about breaking into other people’s computer systems etc. I’m not into that sort of thing, so please don’t email me about it. Note: To get the examples working properly, write the programs in a text file and then run that with the interpreter; do not try to run them directly in the interactive interpreter — not all of them will work.

