Dive Into Python and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $2.97 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Dive Into Python
 
 
Start reading Dive Into Python on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Dive Into Python [Paperback]

Mark Pilgrim (Author)
4.3 out of 5 stars  See all reviews (41 customer reviews)

List Price: $39.99
Price: $26.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.60 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $17.59  
Paperback $26.39  

Book Description

July 19, 2004

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 again in a summary at the end.

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 wanting a feature rich yet simple language to deploy their products in.

This book is not for newbies, for wimps, or for dummies™. It assumes a lot about you:

- You know at least one real object-oriented language, such as Java, C#, or Delphi.

- You know at least one other scripting language, such as Perl, Visual Basic, or Javascript.

If you’re just getting started programming, that doesn’t mean you can’t learn Python. Python is an easy language to learn, but you should probably learn it somewhere else. That said, Dive Into Python will be a guide for people who can jump into languages fast and get going.


Frequently Bought Together

Dive Into Python + Python Essential Reference (4th Edition) + Programming Python
Price For All Three: $93.20

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Python Essential Reference (4th Edition) $28.60

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Programming Python $38.21

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

Review

"...may be one of the thinnest programming language books on my shelf, but it's also one of the best." -- Slashdot, AccordianGuy, September 8, 2004

About the Author

Mark Pilgrim is the author of several technical books, including Dive Into Accessibility, a free book on web accessibility techniques. He works for MassLight, a Washington DC-based training and web development company, where, unsurprisingly, he does training and web development. He lives outside Raleigh, North Carolina, mostly because it's warmer.


Product Details

  • Paperback: 413 pages
  • Publisher: Apress (July 19, 2004)
  • Language: English
  • ISBN-10: 1590593561
  • ISBN-13: 978-1590593561
  • Product Dimensions: 8.6 x 7 x 0.8 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (41 customer reviews)
  • Amazon Best Sellers Rank: #196,323 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

41 Reviews
5 star:
 (29)
4 star:
 (4)
3 star:
 (1)
2 star:
 (4)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (41 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

84 of 88 people found the following review helpful:
5.0 out of 5 stars Great book & it comes for free!, December 29, 2004
By 
This review is from: Dive Into Python (Paperback)
I am definitely a C++ & Java aficionado (or bigot , you might say) but I think Python is one scripting language that is worth some studying. This book is a very clear, practically oriented introduction, best suited for people who already know how to program in some other language. It gives you a solid knowledge of Python fundamentals with an accent on parsing HTML and XML. Ah I forgot the best part... you do not have to buy the book! It is available for free download at diveintopython.org ... but the book is so good and the price so "right" that you might consider buying the hardcopy. Thank you Mark!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


48 of 51 people found the following review helpful:
5.0 out of 5 stars Great Book for Experienced Programmers, May 18, 2005
By 
Elderbear (Loma Linda, Aztlan) - See all my reviews
(VINE VOICE)   
Amazon Verified Purchase(What's this?)
This review is from: Dive Into Python (Paperback)
If you've never programmed before, Python is an excellent language to learn modern programming techniques. But this book should not be your starting point. Get "How to Think Like a Computer Scientist: Learning with Python" by Allen Downey, Jeffrey Elkner, Chris Meyers and learn the basics. Then dive into this book.

Mark Pilgrim is an extremely accessible author. He teaches by example. Each chapter teaches powerful techniques and Python idioms by creating a useful program. Anybody with programming experience should be able to follow the examples and learn the language - although a few visits to the Python website docs may help along the way.

Each example is brief and annotated. The annotations combine with explanatory text to reveal the power of this incredible programming language. Python runs on virtually any popular platform and can be downloaded for free. Mark's excellent work will help empower the reader to do useful things almost immediately.

One of the early example programs reads through a directory of MP3 files and lists the header information, such as artist, album, etc. This is accomplished with just a few lines of code.

Mark makes the point that everything in Python is an object. While this is not a text on hard-core object oriented programming, it is an excellent opportunity for the OOP beginner to get a handle on it.

Pilgrim also emphasizes good programming techniques, such as documentation and unit testing. In one of the later chapters he even creates a Python unit testing framework that works for testing Python code to see if it performs as expected. Again, this example is annotated, used to develop both the software engineering skill of unit testing AND properties of the Python language.

He also covers accessing websites and parsing HTML and XML code. This is just an introduction to these subjects. Those interested in learning this in depth will want to continue their reading with other books and web pages focused on these topics.

The book is not dry or boring. It is not a manual. It is an excellent example of how to use the language AND how to think like a master programmer. The latter is reason enough to buy the book even if you're familiar with Python and have been coding for years.

It's a fun read. It's a great second book for somebody learning to program. It's a powerful example for those wishing to improve their programming style and/or learn object programming. I cannot say enough good things about it.

Furthermore, Mark maintains a website and blog. His articles vary from technically dense to enticingly interesting. He's even responded to email I sent him. How many authors do that?

If you found your way to this page, GET THE BOOK! Being here is proof that it's a good match for you. And if you just want to learn to program and have no experience - get the book anyway, then get a more basic book to go with it. DIVE INTO PYTHON will make you a quality programmer if you work your way through it.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


25 of 25 people found the following review helpful:
5.0 out of 5 stars EXCELLENT intro to Python for programmers, May 8, 2004
By 
Phillip David (Santa Clarita, CA USA) - See all my reviews
(REAL NAME)   
This review is from: Dive Into Python (Paperback)
If you are already a programmer by trade, but haven't yet started to learn Python, get this book either here or from the web site (just search to find it), and dive in. Each chapter starts with an small example program that actually does useful stuff, most of which is foreign to you when you start reading. A few pages later, you'll understand the whole program, and get a good feeling for what "Pythonic" programming is all about.

The author really understands the subject matter, and he really understands what is needed by readers who already have a strong programming background. Once you've worked your way through this book, you'll understand 1) Python, 2) Good programming practices in Python, and 3) Why Python has become such a success amongst professional programmers.

NOTE: If you don't already know programming, hold off on this book until later. If the whole topic of programming is brand new to you, go instead for Mark Lutz' book, "Learning Python (2nd edition)". Mark covers in great detail what could go wrong as you try things out. He insures you won't get lost. To do that, he has to be very explicit about everything. Experienced programmers don't need nearly so much detail, as they already know most of the stuff in the Lutz book, and will find themselves skipping trememdous amounts. These are the folks for whom this book is written.

I am finding this to be a great book for evangelization of others to the ranks of Python maniac.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
web services, performance tuning, functional programming, lambda word, import fileinfo, verbose regular expression, multivariable assignment, import minidom, redirect handler, def plural, store file metadata, uppercase input, unittest module, repeated numerals, doc string, def reset, using list comprehensions, special class methods, import urllib, partial pathname, def output, native datatypes, most recent call, close the installer, numeral representation
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Further Reading, Python Library Reference, Python Tutorial, Visual Basic, The Power of Introspection, Python Knowledge Base, Python Reference Manual, Dynamic Functions, Test-First Programming, Unknown Source, Pluralizing Nouns, Diving In Listing, Computer Scientist, Case Study, Installing Python, United States, Converting Roman Numerals, Splitting Pathnames, Immanuel Kant, Rave Mix, Best Result So Far, Red Hat Linux, Invalid Roman, Listing Directories, Elmer Fudd-speak
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:


What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(21)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
Publishing an open source book??? 0 Dec 22, 2009
Nothing about Graphics? Dive into Python 0 Jan 11, 2009
See all 2 discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject