About the Examples

Unless otherwise noted, all examples run under Python 1.5.2 and Python 2.0. I’ve tried not to depend on internal details, and I expect most scripts to work with upcoming 2.x versions as well.

The examples have been tested on Windows, Solaris, and Linux. Except for a few scripts that depend on platform-specific modules, the examples should work right out of the box on most other platforms as well. (If you find something that doesn’t work as expected, let me know!)

All code is copyrighted. Of course, you’re free to use one or more modules in your own programs, just don’t forget where you got them.

Most script files are named after the module they’re using, followed by the string -example- and a unique serial number. Note that the scripts sometimes appear out of order; it’s done this way on purpose, to match the filenames used in an earlier version of this book, (the eff-bot guide to) The Standard Python Library.

You’ll find copies of all scripts on the CD provided with this book (see http://examples.oreilly.com/pythonsl). For updates and more information, see http://www.pythonware.com/people/fredrik/librarybook.htm. That page also explains what you need to know to decrypt and unpack the archive.

Get Python Standard Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.