Book description
Python Standard Library is an essential guide for serious Python programmers. Python is a modular language that imports most useful operations from the standard library (basic support modules; operating system interfaces; network protocols; file formats; data conversions; threads and processes; and data storage). You can't really program in Python without using it. In this book, author Fredrik Lundh, creator of the Python Imaging Library (PIL), delivers tested, accurate documentation of all the modules in the Python Standard Library, along with over 300 annotated example scripts using the modules. Python Standard Library renders this valuable information in a clean, easy-to-read format, yet doesn't talk down to readers. This accurate and complete reference documentation is for the Python programmer who wants the facts and little else. The book is based on the author's work with the Python newsgroup: he reviewed more than 2500 questions and answers to that newsgroup in order to make sure the book covered what Python users really wanted to know. An earlier version of this book has been available electronically for over a year, so the material has been tested by Python programmers in real-life applications. This version of Python Standard Library covers all the new modules and related information for Python 2.0, the first new major release of Python in four years.
Table of contents
-
Python Standard Library
- Preface
- 1. Core Modules
-
2. More Standard Modules
- Overview
- The fileinput Module
- The shutil Module
- The tempfile Module
- The StringIO Module
- The cStringIO Module
- The mmap Module
- The UserDict Module
- The UserList Module
- The UserString Module
- The traceback Module
- The errno Module
- The getopt Module
- The getpass Module
- The glob Module
- The fnmatch Module
- The random Module
- The whrandom Module
- The md5 Module
- The sha Module
- The crypt Module
- The rotor Module
- The zlib Module
- The code Module
- 3. Threads and Processes
- 4. Data Representation
- 5. File Formats
- 6. Mail and News Message Processing
-
7. Network Protocols
- Overview
- The socket Module
- The select Module
- The asyncore Module
- The asynchat Module
- The urllib Module
- The urlparse Module
- The cookie Module
- The robotparser Module
- The ftplib Module
- The gopherlib Module
- The httplib Module
- The poplib Module
- The imaplib Module
- The smtplib Module
- The telnetlib Module
- The nntplib Module
- The SocketServer Module
- The BaseHTTPServer Module
- The SimpleHTTPServer Module
- The CGIHTTPServer Module
- The cgi Module
- The webbrowser Module
- 8. Internationalization
- 9. Multimedia Modules
- 10. Data Storage
- 11. Tools and Utilities
- 12. Platform-Specific Modules
-
13. Implementation Support Modules
- The dospath Module
- The macpath Module
- The ntpath Module
- The posixpath Module
- The strop Module
- The imp Module
- The new Module
- The pre Module
- The sre Module
- The py_compile Module
- The compileall Module
- The ihooks Module
- The linecache Module
- The macurl2path Module
- The nturl2path module
- The tokenize Module
- The keyword Module
- The parser Module
- The symbol Module
- The token Module
-
14. Other Modules
- Overview
- The pyclbr Module
- The filecmp Module
- The cmd Module
- The rexec Module
- The Bastion Module
- The readline Module
- The rlcompleter Module
- The statvfs Module
- The calendar Module
- The sched Module
- The statcache Module
- The grep Module
- The dircache Module
- The dircmp Module
- The cmp Module
- The cmpcache Module
- The util Module
- The soundex Module
- The timing Module
- The posixfile Module
- The bisect Module
- The knee Module
- The tzparse Module
- The regex Module
- The regsub Module
- The reconvert Module
- The regex_syntax Module
- The find Module
- Index
- Colophon
Product information
- Title: Python Standard Library
- Author(s):
- Release date: May 2001
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596000967
You might also like
book
Python One-Liners
Python One-Liners will teach you how to read and write “one-liners”: concise statements of useful functionality …
book
The Python 3 Standard Library by Example, Second Edition
Master the Powerful Python 3 Standard Library through Real Code Examples "The genius of Doug's approach …
book
Data Structures and Algorithms in Python
Based on the authors' market leading data structures books in Java and C++, this textbook offers …
book
Object-Oriented Python
Object-Oriented Python (OOP) is a paradigm that combines data and code into cohesive units, allowing you …