-
Chapter 1 Core Modules
-
Introduction
-
The _ _builtin_ _ Module
-
The exceptions Module
-
The os Module
-
The os.path Module
-
The stat Module
-
The string Module
-
The re Module
-
The math Module
-
The cmath Module
-
The operator Module
-
The copy Module
-
The sys Module
-
The atexit Module
-
The time Module
-
The types Module
-
The gc Module
-
-
Chapter 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
-
-
Chapter 3 Threads and Processes
-
Overview
-
The threading Module
-
The Queue Module
-
The thread Module
-
The commands Module
-
The pipes Module
-
The popen2 Module
-
The signal Module
-
-
Chapter 4 Data Representation
-
Overview
-
The array Module
-
The struct Module
-
The xdrlib Module
-
The marshal Module
-
The pickle Module
-
The cPickle Module
-
The copy_reg Module
-
The pprint Module
-
The repr Module
-
The base64 Module
-
The binhex Module
-
The quopri Module
-
The uu Module
-
The binascii Module
-
-
Chapter 5 File Formats
-
Overview
-
The xmllib Module
-
The xml.parsers.expat Module
-
The sgmllib Module
-
The htmllib Module
-
The htmlentitydefs Module
-
The formatter Module
-
The ConfigParser Module
-
The netrc Module
-
The shlex Module
-
The zipfile Module
-
The gzip Module
-
-
Chapter 6 Mail and News Message Processing
-
Overview
-
The rfc822 Module
-
The mimetools Module
-
The MimeWriter Module
-
The mailbox Module
-
The mailcap Module
-
The mimetypes Module
-
The packmail Module
-
The mimify Module
-
The multifile Module
-
-
Chapter 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
-
-
Chapter 8 Internationalization
-
The locale Module
-
The unicodedata Module
-
The ucnhash Module
-
-
Chapter 9 Multimedia Modules
-
Overview
-
The imghdr Module
-
The sndhdr module
-
The whatsound Module
-
The aifc Module
-
The sunau Module
-
The sunaudio Module
-
The wave Module
-
The audiodev Module
-
The winsound Module
-
The colorsys Module
-
-
Chapter 10 Data Storage
-
Overview
-
The anydbm Module
-
The whichdb Module
-
The shelve Module
-
The dbhash Module
-
The dbm Module
-
The dumbdbm Module
-
The gdbm Module
-
-
Chapter 11 Tools and Utilities
-
The dis Module
-
The pdb Module
-
The bdb Module
-
The profile Module
-
The pstats Module
-
The tabnanny Module
-
-
Chapter 12 Platform-Specific Modules
-
Overview
-
The fcntl Module
-
The pwd Module
-
The grp Module
-
The nis Module
-
The curses Module
-
The termios Module
-
The tty Module
-
The resource Module
-
The syslog Module
-
The msvcrt Module
-
The nt Module
-
The _winreg Module
-
The posix Module
-
-
Chapter 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
-
-
Chapter 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
-
-
Colophon
- Title:
- Python Standard Library
- By:
- Fredrik Lundh
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- May 2001
- Pages:
- 304
- Print ISBN:
- 978-0-596-00096-7
- | ISBN 10:
- 0-596-00096-0
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover of Python Standard Library are harvest mice. Many species of harvest mice populate North American grasslands and marshes, while only one species—Micromys minutus, the Old World harvest mouse—resides in the grasslands and farmlands of Europe and Asia.
Smaller than the common house mouse, the harvest mouse sports prominent ears and a very long hairy tail, and its hind feet have an opposable fifth toe for grasping and climbing stems. Behaviorally, harvest mice set themselves apart from other mice species by building breeding nests suspended in high grasses. These nests are baseball-sized globes of woven grass with small entrance holes and are lined with soft plant material, such as dandelion fluff, to keep the young warm. The young are born in litters of three to six, completely dependent on the mother (the father is not allowed in the nest). By the time they are five weeks old, however, they are independent and sexually mature. Overall, harvest mice typically live for six to eighteen months in the wild—enough time for a female to produce one to six litters in her lifetime. These numbers are much higher for mice in captivity.
The harvest mouse is a "cover dependent" species, as it relies on brush and vegetation to hide its small, brown body from predators as it forages for seeds and insect larvae. It moves slowly and adopts a still "camouflage posture" as further defense; overall, it is much more calm than the common house mouse.
The Western, Eastern, and Fulvous harvest mice (Reithrodontomys megalotis, Reithrodontomys humulis, and Reithrodontomys fulvescens, respectively) currently populate various regions of the United States and Canada with relative success, challenged somewhat by habitat loss due to crop farming, cattle grazing, and urbanization. However, their cousin the Saltmarsh harvest mouse (Reithrodontomys raviventris) suffers severe threat due to the filling in of its dwindling marshland home in the San Francisco Bay Area. The only endangered harvest mouse species, its members number in only the hundreds to the few thousands. Catherine Morris was the production editor and proofreader, and Linley Dolby was the copyeditor for Python Standard Library. Emily Quill, Matt Hutchinson, and Claire Cloutier provided quality control. Joe Wizda wrote the index. Interior composition was done by Gabe Weiss, Matt Hutchinson, and Catherine Morris.
Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. Emma Colby also designed the CD label.
David Futato designed the interior layout based on a series design by Nancy Priest. The print version of this book was created by translating the DocBook SGML markup of its source files into a set of gtroff macros using a filter developed at O'Reilly & Associates by Norman Walsh. Steve Talbott designed and wrote the underlying macro set on the basis of the GNU troff –gs macros; Lenny Muellner adapted them to SGML and implemented the book design. The GNU groff text formatter Version 1.11.1 was used to generate PostScript output. The text and heading fonts are ITC Garamond Light and Garamond Book; the code font is Constant Willison. This colophon was written by Sarah Jane Shangraw.
