Get 1 Year of unlimited Apress for $199
Instant access to all available titles and new releases Apress Access Subscription

Dive Into Python

By Mark Pilgrim

  • eBook Price: $27.99 $10.00
  • Print Book Price: $39.99
Buy eBook Buy Print Book

Dive Into Python Cover Image

Each chapter in this hands-on guide to the Python language starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together again in a summary. This book is a must-have resource for those who like to jump into a language fast and get going right away.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-59059-356-1
  • 432 Pages
  • User Level: Beginner to Advanced
  • Publication Date: July 5, 2004
  • Available eBook Formats: PDF

Related Titles

  • Introducing Gradle
  • Beginning Ubuntu for Windows and Mac Users
  • Beginning App Development with Parse and PhoneGap
  • Numerical Python
  • Python Data Analytics
  • Beginning Python Games Development, Second Edition
  • Program Arcade Games, Second Edition
Full Description

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

Table of Contents

  1. Installing Python
  2. Your First Python Program
  3. Native Datatypes
  4. The Power of Introspection
  5. Objects and Object-Orientation
  6. Exceptions and File Handling
  7. Regular Expressions
  8. HTML Processing
  9. XML Processing
  10. Scripts and Streams
  11. HTTP Web Services
  12. SOAP Web Services
  13. Unit Testing
  14. Test-First Programming
  15. Refactoring
  16. Functional Programming
  17. Dynamic Functions
  18. Performance Tuning
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. PHP Objects, Patterns, and Practice

      $38.99 $10.00

      View Book

    2. Beginning Android 3D Game Development

      $34.99 $10.00

      View Book

    3. Troubleshooting Oracle Performance

      $41.99 $10.00

      View Book

    4. Beginning Amazon Web Services with Node.js

      $38.99 $10.00

      View Book