Python @ Web Programming
 Programming Shed : Programmer Store & Resources
|  ASP.NET  |  HTML / DHTML  |  Java / JavaScript  |  Perl  |  PHP  |  Python  |  XML  |
Python Index - Python Book :

Python Book :
Programming Python (2nd Edition)

Programming Python (2nd Edition)
Check price @
Amazon.com
Amazon.ca
Amazon.co.uk


Programming Python (2nd Edition)
by Mark Lutz

Paperback: 1292 pages
Dimensions (in inches): 2.02 x 9.17 x 6.97
Publisher: O'Reilly & Associates
ISBN: 0596000855; 2nd edition (March 2001)


Completely revised and improved, the second edition of Programming Python is an excellent compendium of material geared toward the more knowledgeable Python developer. It includes dozens of reusable scripts for common scripting tasks, and is one of the best available sources of information for this popular object-oriented scripting language.

In over 1,200 pages of material, this book offers an extremely comprehensive guide to Python development. Though his book is densely packed with information, Mark Lutz is a lively and witty writer whose focus is on getting things done using the natural strengths of the Python language. To that end, after an introduction and history of the language, the book shows how to use Python for performing automated tasks with files and directories (for example, for doing backups both locally and on Web servers). Not only will this book teach you more about Python, but it will also give you a library of code that you can use as is or adapt for your own projects.

The text covers every conceivable facet of Python and the language's support for networking, files and directories, task management, and even persistence (through its support for shelves). Complete Python programs show how to create e-mail clients, do reporting, and create Web applications (for an online errata database). Chapters on doing graphics programming in Python, as well as coverage of both built-in and custom data structures, are especially good. Because Python is often used for automating installations (in some Linux distributions, for instance), readers will appreciate the sample code and tips for using Python to create bulletproof installs.

Later sections show how get Python to work with C, Java (through JPython), and other languages. The book concludes with useful reference sections summarizing key aspects of Python, like its revision history, relationship to C++, and other material. There aren't many titles on Python, and fans of this up-and-coming language are lucky to have such a solid tutorial and guide available in Programming Python. Perfect for those with just a little previous exposure to the language, it's all you need to master Python in-depth and tap its considerable power for virtually any software project. --Richard Dragan

Programming Python covered:
• Introduction to Python
• Basic system scripts with Python (including file and directory tools)
• Working with processes and threads
• Pipes and signals
• Sample scripts for system and Web utilities (including backing up files, program launching, replicating and managing directories)
• Graphical user interface design in Python (including the Tkinter module)
• Widgets and basic components
• Layout options
• Event handling
• GUI examples (including a working text editor, image viewer, and clock)
• Network scripting (sockets, FTP, and e-mail clients)
• Server-side scripting
• Sample server scripts for an online errata database
• Python on the Internet (including Zope, JPython, and XML tools)
• Databases and persistence in Python (including pickled objects and shelf files)
• Custom and built-in data structures in Python
• Text and string handling
• C integration with Python (including the SWIG module)
• Embedding Python calls within C
• Hints for using Python in real projects
• Reference to recent changes to Python
• Python vs. C++ quick-start guide

Book Description: Programming Python, 2nd Edition, focuses on advanced uses of the Python programming/scripting language, which has evolved from an emerging language of interest primarily to pioneers, to a widely accepted tool that traditional programmers use for real day-to-day development tasks. With Python, you can do almost anything you can do with C++; but Python is an interpreted language designed for rapid application development and deployment. Among other things, Python supports object-oriented programming; a remarkably simple, readable, and maintainable syntax; integration with C components; and a vast collection of pre-coded interfaces and utilities.

As Python has grown to embrace developers on a number of different platforms (Unix, Linux, Windows, Mac), companies have taken notice and are adopting Python for their products. It has shown up animating the latest Star Wars movie, serving up maps and directories on the Internet, guiding users through Linux installations, testing chips and boards, managing Internet discussion forums, scripting online games, and even scripting wireless products.

Programming Python, 2nd Edition, is the most comprehensive resource for advanced Python programmers available today. Reviewed and endorsed by Python creator Guido van Rossum, who also provides the foreword, this book zeroes in on real-world Python applications. It's been updated for Python 2.0 and covers Internet scripting, systems programming, Tkinter GUIs, C integration domains, and new Python tools and applications. Among them: IDLE, JYthon, Active Scripting and COM extensions, Zope, PSP server pages, restricted execution mode, the HTMLgen and SWIG code generators, thread support, CGI and Internet protocol modules. Such applications are the heart and soul of this second edition.

Veteran O'Reilly author Mark Lutz has included a platform-neutral CD-ROM with book examples and various Python-related packages, including the full Python 2.0 source code distribution.

Ingram Provides useful running examples that correlate to the increasingly advanced functions of the Python scripting language, a short language tutorial, and accompanying Python interpreter software. Original. (Advanced).

Book Info: A comprehensive resource for Python programmers, offering information on how to program Python on many platforms, including Unix, Linux, Windows, and Mac OS. Focuses on real-world applications for Python programming, with a wealth of code examples so that readers can begin to immediately develop Python programs. Covers Python 2. Previous edition not cited.

The publisher, O'Reilly and Associates: Programming Python is a classic O'Reilly Nutshell Handbook describing the use of the Python programming/scripting language. Python is a popular scripting language freely available over the Net. Like Perl, Python is powerful, but easier to use than a traditional compiler language like C or C++. Although it is used mostly in UNIX environments (including Linux), it is available on Windows and Mac platforms as well. Unlike Perl, Python uses an object-oriented paradigm, making it a particularly useful scripting language for C++ programmers and the Windows/OLE and Mac environments.

This book will serve the Python community as our Programming Perl book does for the Perl community. This book complements the online reference material provided with the Python releases. It is endorsed by the creator of Python, Guido van Rossum, who wrote the foreword. The CD-ROM included with the book contains Python 1.3 binaries for most popular UNIX platforms, as well as Linux, Windows, NT, and the Mac. This book is the most comprehensive Python user material available from any publisher. It contains a number of running examples, presented simply at first but becoming more complex as new issues appear. Examples describing Graphical User Interface (GUI) programming use the Tk language. (Tk is usually considered a part of the Tcl scripting language, but is in fact usable with other scripting languages like Perl and Python.) An appendix contains a separate short language tutorial.


Customer Reviews
Reviewer: bookworm1999
This is one of O'Reilly's worst books. In the introduction, where Mark is giving a demo the Python language, he gives Programming examples without explaining the constructs the programs use or how they achieve their goals in terms of those constructs. It is impossible to understand the points he is trying to make.

The editing of the book is just plain sloppy. The beginning is not what a beginning should be and I am so put off by the beginning I hesitate to read the rest of the book. I'm not sure why O'Reilly let this book get to press. Most of the books I have from them are excellent.

Reviewer: Rachel Garrett from San Diego, CA United States
I'm sorry I don't have the time to do justice to this excellent book. Maybe I'll write a longer review later. But if you're put off by the low ratings from the people who say, "This book is horrible for learning Python!", you should be made aware of the fact that O'Reilly has a separate book for learning Python. It's called Learning Python. Get a clue, folks, and quit bashing a *programming* book because it didn't cover the basics. I also want to note that in every single O'Reilly book I have ever picked up, the author(s) took the time to let you know what sort of background you would need in order to benefit from it.

Reviewer: doveclaw
I'm not really one for writing reviews, but after seeing quite a few people complain about "problems" with the book that have been guided by their own misconceptions, I felt I had to. Programming Python is great book, the only python book I have in fact purchased. It is the only python book I have seen so far that can not be replaced by python's excellent online documentation.

In short, some of the reviews complain that it is mistitled, a poor reference book, or a poor book to use to learn python. Lets look at the front page. The first thing that I see is "solutions for python programmers" and "programming python". I would think a reference manual would involve the words "reference" in its title. Flip a few pages and you'll see the author explain that this book is on ways to "use" python and assumes you already know the language fundamentals. Flip a few more pages and you'll see in big bold letters, "But It's Still Not a Reference Manual." The back of the book gives you a few more clues.

As far as I can see, everyone who has given this book a bad review didn't even give it one glance before purchasing it. The book covers everything it says it will, and does it well. I would recommend this book to anyone who already has a good base in python, or it willing to learn the fundamentals online to supplement the book. This book is, like the front cover says, on ways to use python after all.

Reviewer: John Millington from Albuquerque, NM USA
There's some fun reading and a few odds and ends to pick up, but overall, this book is horrible if you just want to learn Python. Keep looking, you're certain to find something better.






Book Subjects
Learning Python
Python Reference Manual
Web Programming
© 2005-2006, Programming Shed