Free Computer, Mathematics, Technical Books and Lecture Notes, etc.
- Title Python Standard Library
- Author(s) Fredrik Lundh
- Publisher: O'Reilly Media (May 2001)
- Paperback 304 pages
- eBook Online, HTML
- Language: English
- ISBN-10: 0596000960
- ISBN-13: 978-0596000967
- Share This:
Ideal for any working Python developer, Fredrik Lundh's Python Standard Library provides an excellent tour of some of the most important modules in today's Python 2.0 standard. Mixing sample code and plenty of expert advice, this title will be indispensable for programmers.
The book presents sample script code written by a frequent contributor to Python newsgroups--for almost 200 of the built-in modules in Python 2.0 and shows how to solve common programming problems in Python. Instead of a function-based reference, you get sample scripts for a wide variety of solutions centering on different Python modules.
Early sections look at core modules for working with the operating system, math, and strings, among other functions. Material on Python's excellent support for files and directories will help you master the file system. Explanations of various encryption schemes will let you add security to your Python scripts.
Getting Python to multitask with multiple threads comes next, along with getting Python programs to communicate using pipes and signals. After the sample scripts for pickling Python objects to and from files, the book delves into modules that are geared toward today's Internet. First, there's coverage of Python's support for XML, HTML, and SGML, followed by a discussion of its extensive networking support for low-level sockets to high-level Internet protocols, including e-mail and FTP. Sample scripts for e-mail will be really useful for any Python programmer.About the Authors