Programming Books C Java PHP Python Learn more Browse Programming Books
  • List Price: $183.40
  • Save: $37.18 (20%)
Only 1 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
Python How to Program, 1/... has been added to your Cart
Condition: :
Comment: Book covers are worn with bumped corners. Includes unused CD-ROM. Used sticker on spine. Binding is tight; pages are clean and unmarked.
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Python How to Program, 1/e Paperback – February 14, 2002

ISBN-13: 978-0130923615 ISBN-10: 0130923613

Buy New
Price: $146.22
22 New from $55.99 24 Used from $14.67 1 Collectible from $74.43
Amazon Price New from Used from
"Please retry"
$55.99 $14.67

There is a newer edition of this item:

Python How to Program
Currently unavailable.
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Best Books of the Year
See the Best Books of 2014
Looking for something great to read? Browse our editors' picks for 2014's Best Books of the Year in fiction, nonfiction, mysteries, children's books, and much more.
$146.22 FREE Shipping. Only 1 left in stock (more on the way). Ships from and sold by Gift-wrap available.

Frequently Bought Together

Python How to Program, 1/e + XML How to Program
Price for both: $317.94

Buy the selected items together

Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 1376 pages
  • Publisher: Prentice Hall (February 14, 2002)
  • Language: English
  • ISBN-10: 0130923613
  • ISBN-13: 978-0130923615
  • Product Dimensions: 6.9 x 2.5 x 8.7 inches
  • Shipping Weight: 4.6 pounds (View shipping rates and policies)
  • Average Customer Review: 3.3 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Best Sellers Rank: #1,134,317 in Books (See Top 100 in Books)

Editorial Reviews

From the Back Cover

The authoritative DEITEL LIVE-CODE introduction to Python programming

This new book by the world's leading programming language textbook authors carefully explains how to use Python as a general-purpose programming language and how to program multi-tier, client/server, database-intensive, Internet- and Web-based applications.

Dr. Harvey M. Deitel and Paul J. Deitel are the founders of Deitel & Associates, Inc., the internationally-recognized corporate-training and content-creation organization specializing in Python, Visual Basic® .NET, C#, Visual C++® .NET, Java, C++, C, XML, Perl, Internet, Web, wireless and object technologies. The Deitels are the authors of several worldwide #1 programming-language textbooks, including Java How to Program, 4/e, C++ How to Program, 3/e and Internet & World Wide Web How to Program, 2/e.

In Python How to Program, the Deitels and their colleagues, Jonathan Liperi and Ben Wiedermann, discuss topics you need to build complete Web-based applications, including:

  • Python Server Pages/CGI
  • Networking/Sockets
  • GUI/Tkinter/Python Mega Widgets
  • PyOpenGL/Multimedia/Accessibility
  • Databases/DB-API/SQL
  • File Processing/Serialization
  • Modules/Classes/Class Attributes
  • Class Customization/Method Overriding
  • Control Structures/Functions/Inheritance
  • String Manipulation/Regular Expressions
  • Lists/Tuples/Dictionaries/Data Structures
  • Process Management/Multithreading
  • Interprocess Communication
  • Exceptions/XML Processing
  • Security/Restricted Execution

Python How to Program includes extensive pedagogic features:

  • Hundreds of LIVE-CODE programs with screen captures that show exact outputs
  • World Wide Web and Internet resources to encourage further research
  • Hundreds of tips, recommended practices and cautions—all marked with icons

Python How to Program is the centerpiece of a complete family of resources for teaching and learning Python, including Web sites ( , and ) with the book's source-code examples and other information for faculty, students and professionals;( Python Multimedia Cyber Classroom ) containing hyperlinks, solutions to half the book's exercises and audio walkthroughs of the book's code examples; and e-mail access to the authors at deitel@deitel

For information on worldwide Deitel on-site seminars and to subscribe to the Deitel Buzz e-mail newsletter, visit:

For information on current and forthcoming Deitel/Prentice Hall publications including How to Program Series books, Multimedia Cyber Classrooms Complete Training Courses (which include DEITEL books and Cyber Classrooms) and Web-Based Training Courses please see the last few pages of this book.

About the Author

Dr. Harvey M. Deitel, CEO and Chairman of Deitel & Associates, Inc., has 41 years experience in the computing field, including extensive industry and academic experience. Dr. Deitel earned B.S. and M.S. degrees from the Massachusetts Institute of Technology and a Ph.D. from Boston University. He worked on the pioneering virtual-memory operating-systems projects at IBM and MIT that developed techniques now widely implemented in systems such as UNIX, Linux and Windows NT. He has 20 years of college teaching experience, including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc., with his son, Paul J. Deitel. He is the author or co-author with Paul Deitel of several dozen books and multimedia packages and is writing many more. With translations published in Japanese, Russian, Spanish, Traditional Chinese, Simplified Chinese, Korean, French, Polish, Italian and Portuguese, Dr. Deitel's texts have earned international recognition. Dr. Deitel has delivered hundreds of professional seminars to major corporations, government organizations and various branches of the military.

Paul J. Deitel, Executive Vice President and Chief Technical Officer of Deitel & Associates, Inc., is a graduate of the Massachusetts Institute of Technology's Sloan School of Management, where he studied Information Technology. Through Deitel & Associates, Inc., he has delivered Java, C, C++ and Internet and World Wide Web courses to industry clients including Compaq, Sun Microsystems, White Sands Missile Range, Rogue Wave Software, Boeing, Dell, Stratus, Fidelity, Cambridge Technology Partners, Open Environment Corporation, One Wave, Hyperion Software, Lucent Technologies, Adra Systems, Entergy, CableData Systems, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, IBM and many other organizations. He has lectured on C++ and Java for the Boston Chapter of the Association for Computing Machinery and has taught satellite-based Java courses through a cooperative venture of Deitel & Associates, Inc., Prentice Hall and the Technology Education Network. He and his father, Dr. Harvey M. Deitel, are the world's best-selling Computer Science textbook authors.

Jonathan Liperi is a senior at Boston University where he has been accepted into the Computer Science department's BA/MA program. He will earn his Master's degree in Computer Science in May 2003. His coursework has included advanced algorithms, queueing theory, computer architecture, computer networks, artificial intelligence, computer graphics, database systems, software engineering and various programming courses (C, C++, Python and Java).

Ben Wiedermann graduated from Boston University magna cum laude with a degree in Computer Science and a minor in Theater Arts. Ben plans to pursue post-graduate work in programming-language theory. Other Deitel publications to which he has contributed include Java How to Program, Fourth Edition; C++ How to Program, Third Edition; Perl How to Program; Internet and World Wide Web How to Program, Second Edition; XML How to Program; e-Business & e-Commerce How to Program and C How to Program, Third Edition.

Customer Reviews

Instead, I was sorely disappointed by their complete lack of Pythonic thinking.
Jon-Pierre Gentil
It might be worth a quick look to a particular chapter, just to get a quick grasp of a particular area like XML, pygame, tkinter, etc.
Pablo Diaz Gutierrez
For example: * Python programmers are NOT having more fun than Java (or other) programmers; all languages are equally stultifying.
Peter Norvig

Most Helpful Customer Reviews

87 of 107 people found the following review helpful By Peter Norvig on September 28, 2003
Format: Paperback
Previously, I reviewed the "Java How to Program" book and found it to be a terrible waste, sure to take all the fun and creativity out of programming. So when I saw this book on the shelf, I flipped through it, hoping that the free-wheeling nature of Python might have lead the Deitels towards a more enlightened approach to instruction. I quickly found that this book has many lessons to teach (although few that I would agree with). For example:

* Python programmers are NOT having more fun than Java (or other) programmers; all languages are equally stultifying.

* Learning a language is a tedious task, centered around learning features of the syntax in a prescribed order. (This is like learning to cook by trying ingredients one at a time in alphabetical order, without ever trying to put together something tasty.)

* The practice of programming has no underlying principles, only an endless series of tips presented in overly-garish multicolor pages. (You'd be better off with a single chapter of "Structure and Interpretation of Computer Programs" than with anything in this book.)

* Programming is inherently boring, involving endless repetitive typing; it is better for the programmer to do a lot of work than to expect the computer to. For example, consider this example from chapter 4 (Fig 4.7):


import random

frequency1 = 0
frequency2 = 0
frequency3 = 0
frequency4 = 0
frequency5 = 0
frequency6 = 0

for roll in range( 1, 6001 ): # 6000 die rolls
___face = random.
Read more ›
4 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
23 of 26 people found the following review helpful By Jon-Pierre Gentil on May 6, 2005
Format: Paperback
I purchased Deitel & Deitel's C++ How to Program book long ago, and found it to be comprehensive and extrordinarily helpful.

When I picked up Python How to Program, I expected the same incredible experience. Instead, I was sorely disappointed by their complete lack of Pythonic thinking. It seems as if they took one of their other How to Program books and ran a code converter across it to migrate it to Python. As a previous reviewer pointed out, some of the examples are horrificly implemented, a clear case of programming in Python with the "C/C++ mentality."

The examples seemed fun, but no amount of fun can compensate for the fact that this book teaches you nothing about how to truely be a Python programmer. Anyone can read the lexical syntax descriptions on the website and code the examples in this book. It gives me the feeling that Harvey Deitel did not learn Python for any reason other than to write an expensive book about it, and has no idea how to actually use the language.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
10 of 11 people found the following review helpful By R. Andrews on July 26, 2002
Format: Paperback
I was also a technical reviewer for the book, and really liked it. Even considering the price of the book, I think it's quite valuable, because it explains the basics of so many topics in a manner that makes sense. If you are new to programming and would like to try out different things to see what you might like, such as web programming, XML, designing windows (lowercase 'w') that will work on a variety of platforms, databases, sockets, etc., you may find that this book provides material you would otherwise look through a literal stack of books to find. No programming book is perfect, but I think this one is pretty good.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
31 of 41 people found the following review helpful By RazorX on February 19, 2002
Format: Paperback
No doubt about it the most well written and comprehensive Python book to date. This
Deitel team is hard to beat. They display a complete understanding in all their books
and are able to deliver an amazingly strong range and depth for all users. This
is a fluidly based book for all knowledge levels. The first 6 chapters are perfect for
beginning Pythoners. A really fun part of the book for me, was chapter 24 where you
get to create a CD player, Movie player, and a Space-Cruiser game. I was also pleased
that they included a chapter for web accessibility for Internet users with disabilities.
Most web site designers ignore web site accessibility, but in the future they will eventually have
to comply with the WCAG web site guidelines. On a side note, did you know that HTML is dead?
The Appendix has 2 chapters on XHTML, the new replacement for HTML.
Even though Guido Van Rossum derived the Python name after the popular BBC
comedy show, the Python language really has 2 sides; one of programming fun and the
other of programming power. The Deitel team really illustrates Python's power in several areas.
They delve fully into: control structures, functions, lists, tuples, dictionaries, CGI, OOP, classes,
inheritance, GUI, exceptions, strings, regular expressions, files, XML, XHTML, databases,
process management, multithreading, networking, security, data structures, multimedia,
voiceXML, WML, and Python server pages. Chapter 23 is a complete online
bookstore program that is pretty impressive.
I'm very excited about this book and the part that Python will play in the future of
programming and the Internet. I really see a promising future for Python in e-commerce.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

What Other Items Do Customers Buy After Viewing This Item?

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Python How to Program, 1/e
This item: Python How to Program, 1/e
Price: $183.40 $146.22
Ships from and sold by