Whether you're an experienced programmer looking to get into Python or grizzled Python veteran who remembers the days when you had to import the string module, Dive Into Python is your 'desert island' Python book.
Joey deVilla, Slashdot contributor
As a complete newbie to the language...I constantly had those little thoughts like, 'this is the way a programming language should be taught.'
Lasse Koskela , JavaRanch
Apress has been profuse in both its quantity and quality of releasesand (this book is) surely worth adding to your technical reading budget for skills development.
Blane Warrene, Technology Notes
I am reading this ... because the language seems like a good way to accomplish programming tasks that don't require the low-level bit handling power of C.
Richard Bejtlich, TaoSecurity
Python is a new and innovative scripting language. It is set to replace Perl as the programming language of choice for shell scripters, and for serious application developers who want a feature-rich, yet simple language to deploy their products.
Dive Into Python is a hands-on guide to the Python language. Each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end.
This is the perfect resource for you if you like to jump into languages fast and get going right away. If you're just starting to learn Python, first pick up a copy of Magnus Lie Hetland's Practical Python.
Table of Contents
- Installing Python
- Your First Python Program
- Native Datatypes
- The Power of Introspection
- Objects and Object-Orientation
- Exceptions and File Handling
- Regular Expressions
- HTML Processing
- XML Processing
- Scripts and Streams
- HTTP Web Services
- SOAP Web Services
- Unit Testing
- Test-First Programming
- Functional Programming
- Dynamic Functions
- Performance Tuning
|Series:||The Expert's Voice in Open Source Series|
|Edition description:||Softcover reprint of the original 1st ed.|
|Product dimensions:||7.01(w) x 9.25(h) x 0.30(d)|
About the Author
By day, Mark Pilgrim is a developer advocate for open source and open standards. By night, he is a husband and father who lives in North Carolina with his wife, his two sons, and his big slobbery dog. He spends his copious free time sunbathing, skydiving, and making up autobiographical information.
Most Helpful Customer Reviews
Today's programming world has a multitude of languages to choose from. One recent up-and-comer is Python. Why? Mark Pilgrim gives a forceful presentation of its virtues. Veterans of other languages will see here a reimplementation of many nice features of several languages. For example, C++ has its Standard Template Library. And the default Java installation comes replete with an extensive library. So too does Python. Pilgrim covers examples of key libraries in various chapters. Like one that knows HTML and another than can parse XML. So you don't have to go back to writing grungy low level code. And writing an XML parser is very tricky to get right. Java and C# programmers have also found introspection to be vital for writing more flexible and modular programs. So that one class can dynamically find another class's methods at runtime. Guess what? Python lets you do this too. Python is also fully object oriented. Not bad for a 'mere' scripting language. Unlike some others, that are just weakly OO. The style of the book is example-driven, with carefully chosen examples that introduce key sections of Python. In some way, like a bottoms-up approach. Pilgrim is forthright about the presentation; deliberately eshewing a more elegant, theoretical layout. Very nuts and bolts.