- Contents
- 1 Whetting Your Appetite
- 2 Using the Python Interpreter
- 3 An Informal Introduction to Python
- 4 More Control Flow Tools
- 5 Data Structures
- 6 Modules
- 7 Input and Output
- 8 Errors and Exceptions
- 9 Classes
- 10 What Now?
- 11 Recent Additions as of Release 1.1
- A Interactive Input Editing and History Substitution
- About this document ...
- Contents
- 1 Introduction
- 2 Built-in Types, Exceptions and Functions
- 3 Python Services
- 3.1 Built-in Module sys
- 3.2 Standard Module types
- 3.3 Standard Modules UserDict and UserList
- 3.4 Built-in Module operator
- 3.5 Standard Module traceback
- 3.6 Standard Module pickle
- Standard Module copy_reg
- 3.8 Standard Module shelve
- 3.9 Standard Module copy
- 3.10 Built-in Module marshal
- 3.11 Built-in Module imp
- 3.12 Standard Module ni
- 3.13 Built-in Module parser
- 3.14 Standard Module symbol
- 3.15 Standard Module token
- 3.16 Standard Module keyword
- 3.17 Standard Module code
- 3.18 Standard Module pprint
- 3.19 Standard Module dis
- 3.20 Standard Module site
- 3.21 Standard Module user
- Built-in Module __builtin__
- Built-in Module __main__
- 4 String Services
- 5 Miscellaneous Services
- 6 Generic Operating System Services
- 7 Optional Operating System Services
- 8 Unix Specific Services
- 8.1 Built-in Module posix
- 8.2 Standard Module posixpath
- 8.3 Built-in Module pwd
- 8.4 Built-in Module grp
- 8.5 Built-in Module crypt
- 8.6 Built-in Module dbm
- 8.7 Built-in Module gdbm
- 8.8 Built-in Module termios
- 8.9 Standard Module TERMIOS
- 8.10 Built-in Module fcntl
- 8.11 Standard Module posixfile
- 8.12 Built-in Module resource
- 8.13 Built-in Module syslog
- 8.14 Standard Module stat
- 8.15 Standard Module commands
- 9 The Python Debugger
- 10 The Python Profiler
- 11 Internet and WWW Services
- 11.1 Standard Module cgi
- 11.2 Standard Module urllib
- 11.3 Standard Module httplib
- 11.4 Standard Module ftplib
- 11.5 Standard Module gopherlib
- 11.6 Standard Module nntplib
- 11.7 Standard Module urlparse
- 11.8 Standard Module sgmllib
- 11.9 Standard Module htmllib
- 11.10 Standard Module xmllib
- 11.11 Standard Module formatter
- 11.12 Standard Module rfc822
- 11.13 Standard Module mimetools
- 11.14 Standard Module binhex
- 11.15 Standard Module uu
- 11.16 Built-in Module binascii
- 11.17 Standard Module xdrlib
- 11.18 Standard Module mailcap
- 11.19 Standard Module base64
- 11.20 Standard Module quopri
- 11.21 Standard Module SocketServer
- 11.22 Standard Module mailbox
- 11.23 Standard Module mimify
- 11.24 Standard Module BaseHTTPServer
- 12 Restricted Execution
- 13 Multimedia Services
- 14 Cryptographic Services
- 15 Macintosh Specific Services
- 15.1 Built-in Module mac
- 15.2 Standard Module macpath
- 15.3 Built-in Module ctb
- 15.4 Built-in Module macconsole
- 15.5 Built-in Module macdnr
- 15.6 Built-in Module macfs
- 15.7 Standard Module ic
- 15.8 Built-in Module MacOS
- 15.9 Standard Module macostools
- 15.10 Standard Module findertools
- 15.11 Built-in Module mactcp
- 15.12 Built-in Module macspeech
- 15.13 Standard Module EasyDialogs
- 15.14 Standard Module FrameWork
- 15.15 Standard Module MiniAEFrame
- 16 SGI IRIX Specific Services
- 17 SunOS Specific Services
- 18 Undocumented Modules
- 18.1 Fundamental, and pretty straightforward to document
- 18.2 Frameworks; somewhat harder to document, but well worth the effort
- 18.3 Stuff useful to a lot of people, including the CGI crowd
- 18.4 Miscellaneous useful utilities
- 18.5 Parsing Python
- 18.6 Platform specific modules
- 18.7 Code objects and files, debugger etc.
- 18.8 Multimedia
- 18.9 Oddities
- 18.10 Obsolete
- 18.11 Extension modules
- Module Index
- Index
- About this document ...
- Contents
- Extending Python with C or C++ code
- 1.1 Introduction
- 1.2 A Simple Example
- 1.3 Intermezzo: Errors and Exceptions
- 1.4 Back to the Example
- 1.5 The Module's Method Table and Initialization Function
- 1.6 Compilation and Linkage
- 1.7 Calling Python Functions From C
- Format Strings for PyArg_ParseTuple()
- Keyword Parsing with PyArg_ParseTupleAndKeywords()
- The Py_BuildValue() Function
- 1.11 Reference Counts
- Writing Extensions in C++
- 2 Embedding Python in another application
- 3 Dynamic Loading
- About this document ...