|
Python @ Web Programming
Programming Shed : Programmer Store & Resources |
|
|
|
Python Index - Python Book : Python Standard Library
by Fredrik Lundh, Frederik Lundh Paperback: 281 pages Dimensions (in inches): 0.81 x 9.18 x 7.04 Publisher: O'Reilly & Associates ISBN: 0596000960; Bk&Cd-Rom edition (May 2001) 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. Later chapters provide coverage of internationalization support in Python and its support for multimedia. The book closes with material on platform-specific modules (which are specific to Unix and/or Windows) as well as modules that are obsolete but necessary to understanding legacy Python code. There's a lot of expertise on display in Python Standard Library. The code does much of the talking in this example-packed text, which is sure to earn its place on any working Python programmer's bookshelf. --Richard Dragan Python Standard Library covered: • Introduction to the Python 2.0 standard modules • Core modules (including modules for operating system functions, string, math, time, and garbage collection) • File and directory modules • Encryption and security modules • Threads, processes, pipes, and signals in Python • Persisting Python objects (marshalling and pickling objects) • Python modules for XML, HTML, and SGML • Modules for e-mail and news support • Internet programming with Python (including sockets, a chat example, FTP, SMTP, IMAP, POP, and Telnet) • Internationalization support • Modules for multimedia support (image and sound files) • Data storage in Python (with shelves) • Python tools • Platform-specific modules (including Unix- and Windows-specific modules) • Miscellaneous and legacy Python modules Book Description: Python imports its most useful applications from the Python Standard Library, a collection of commonly used procedures that can be pasted into a Python script rather than written from scratch. Successful Python programmers rely heavily on the Standard Library, and this book illuminates its capabilities with more than 300 real-world example scripts, based on the author's work with 2500 answers from the Python newsgroup. Book Info: A reference work for Python programmers interested in a resource filled with time-saving modules that perform common programming tasks. Documents modules for support threads and pipes, all major forms of data representation, database and persistent storage, and support for major Internet application such as MIME and news. Features an accompanying CD-ROM. Customer Reviews Reviewer: Eric S Miller from Leander, Texas United States I am a relatively new programmer, who has used only Python and PHP to any significant extent, so ... I have Python Essential Reference (1st. edition) and this book side-by-side on my shelf at work. I use Python Essential Reference and the online module documentation almost equally, and I almost never pick up this book. Reviewer: ransom22 from Lake Villa, IL United States I was hoping for something along the lines of the book the "Standard C Library" book by P.J. Plauger. Unfortunately, this book is nowhere near as complete. Still, there are interesting and useful bits here and there, and it does serve as a decent supplement to the Python library book included in the distribution itself. Reviewer: Frank Wilkinson from Tennessee This is a nice supplemental text for the Standard Library documentation. Sometimes you find yourself puzzled as to how a module is to be used, even after reading the documentation. This book provides a little extra help in that regards by providing concise examples that point you in the right direction. I can't give it five stars because it is a little sparse for the price. Please be warned, the book is almost all code. Don't expect a great deal of explanatory text. Reviewer: Hamish Lawson from St Andrews, Scotland, UK This book isn't really a reference for the Python standard library - David Beazley's "Python Essential Reference" probably fills that gap better - but it is a very useful guide to what the library can be used for, with a comprehensive and motivated selection of code examples. |
|
|
© 2005-2006, Programming Shed
|