Python Documentation Index
- Official tutorial and references, including library/module usage, Macintosh libraries, language syntax, extending/embedding, and the Python/C API. Also links to off-site beginners' tutorials, HOWTOs, and many special interest topics.
A Beginner's Python Tutorial - A Python tutorial originally written for the modding community of Firaxis' Civilization. Useful to beginners with little or no programming knowledge.
Code Like a Pythonista: Idiomatic Python - A tutorial that teaches common Python programming idioms used by experienced programmers, but may not be obvious to newcomers.
A Course in Python/CGI - This site contains materials from a 13 week course for learning Python and CGI. Suited for self-study.
Database Topic Guide - Python programs can use minimal code to access, display, and update a database. This guide provides "links to relevant Python modules, documentation, and projects" concerning databases, as well as adding persistence to Python objects.
Five Minutes to a Python CGI - By David Mertz. Brief introduction to writing CGI programs, Python CGI module, formatting output, error logging/debugging.
Instant Hacking - By Magnus Lie Hetland. Minimal, concise, general introduction to programming, via Python, moves very quickly. English, Italian, Polish, Japanese, Serbian, Korean.
Instant Python - By Magnus Lie Hetland. Minimal introduction for experienced programmers. Treats basics, OO programming, Jedi mind trick. English, French, Italian, Portuguese, Spanish; German, Norwegian; Lithuanian, Polish, Russian; Japanese, Korean.
An Introduction to Tkinter - By Fredrik Lundh. Official tutorial for Tkinter, standard Python interface to Tk GUI toolkit; widget configuration, styling; function/method bindings to widget events; documents all Tkinter widgets, classes. Formats: PDF, HTML.
Learning Python - By Mark Lutz, David Ascher. Samples from O'Reilly book. Has manipulating data structures, files, programs; internet programming; JPython, now Jython, Python implementation for the Java platform.
Non-Programmer's Tutorial for Python - By Josh Cogliati. Evolving tutorial for absolute beginners. Covers many basic, some intermediate topics; many code samples, simple hands-on exercises. [Open Content, public domain]
One Day of IDLE Toying - By Danny Yoo. Visual guide to using IDLE, a simple interactive shell for Python programming. Each step of this tutorial has screenshots for absolute beginners. English, Dutch, German; Greek, French, Italian, Portuguese; Indonesian.
Printable Python Quick Reference Card - Different PDF versions (A4, US Letter) of a very dense quick reference card for the Python language and some of its main libraries.
Programming Crash Course - This tutorial was written for the absolute beginner. It teaches how to program a computer the quick way.
Programming Python, 2nd Edition - By Mark Lutz. O'Reilly book sample. Introduces Internet related topics: Zope (web publishing framework), HTMLgen (makes web pages from objects), Jython (Python for Java), XML processing, server pages, Windows web scripting extensions, restricted execution mode tools.
Python and UML - Can the UML help Python developers? How about CP4E?
Python Babysteps Tutorial - Preliminary tutorial, prepares absolute beginners for other tutorials. Walks reader through installing on Windows, using Integrated DeveLopment Environment (IDLE), writing a simple program.
Python Programming for Beginners - Shows how to write programs that use command-line options, read and write to pipes, access environment variables, handle interrupts, read from and write to files, create temporary files, write to system logs.
Python Programming Tutorial - By Richard G. Baldwin. Separate lessons teach programming basics. Free online, fee download files.
Python Quick Reference - By Simon Brunning. Thorough 'cheat sheet'; brief reminders for nearly each language aspect: syntax nuances; built-in features, statements, modules; basic, advanced types, operations; lexical entities, common development tools. For several Python versions; HTML, Zip, Windows Help, text.
Python SIGs - Archives of current and past listserv discussions on a LOT of interesting topics. GREAT for researching problems.
Python Tutorial - Introduction to Python, where to find it, how to install, and create a very simple script.
A Quick Tour of Python - Short overview of some basics, for users with some programming knowledge.
Regular Expression HOWTO - How to use regular expressions in Python with the re module, a gentle introduction.