Core Python Programming, 2/e and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
48 used & new from $23.52

Have one to sell? Sell yours here
 
   
Core Python Programming (2nd Edition)
 
 
Start reading Core Python Programming, 2/e on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Core Python Programming (2nd Edition) (Paperback)

~ (Author)
4.1 out of 5 stars  See all reviews (37 customer reviews)

List Price: $59.99
Price: $37.79 & this item ships for FREE with Super Saver Shipping. Details
You Save: $22.20 (37%)
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 Tuesday, December 1? Choose One-Day Shipping at checkout. Details
Ordering for Christmas? To ensure delivery by December 24, choose FREE Super Saver Shipping at checkout. Read more about holiday shipping.

33 new from $33.78 15 used from $23.52

Formats

Amazon Price New from Used from
  Kindle Edition, November 3, 2009 $30.23 -- --
  Paperback, September 27, 2006 $37.79 $33.78 $23.52

Frequently Bought Together

Core Python Programming (2nd Edition) + Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly)) + Python Cookbook
Price For All Three: $97.15

Show availability and shipping details

  • This item: Core Python Programming (2nd Edition) by Wesley Chun

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

  • Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly)) by Alex Martelli

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

  • Python Cookbook by David Ascher

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


Special Offers and Product Promotions


Customers Who Bought This Item Also Bought

Python Cookbook

Python Cookbook

by David Ascher
4.3 out of 5 stars (42)  $32.97
Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))

Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))

by Alex Martelli
4.5 out of 5 stars (40)  $26.39
Python Fundamentals (Video Training)

Python Fundamentals (Video Training)

by Wesley Chun
5.0 out of 5 stars (1)  $51.09
Python Essential Reference (3rd Edition)

Python Essential Reference (3rd Edition)

by David M. Beazley
4.5 out of 5 stars (71)  $32.84
Wxpython in Action

Wxpython in Action

by Noel Rappin
4.5 out of 5 stars (24)  $32.97
Explore similar items

Editorial Reviews

Product Description

Praise for Core Python Programming

 

"The long-awaited second edition of Wesley Chun's Core Python Programming proves to be well worth the wait—its deep and broad coverage and useful exercises will help readers learn and practice good Python."

—Alex Martelli, author of Python in a Nutshell and editor of Python Cookbook

 

"There has been lot of good buzz around Wesley Chun's Core Python Programming. It turns out that all the buzz is well earned. I think this is the best book currently available for learning Python. I would recommend Chun's book over Learning Python (O'Reilly), Programming Python (O'Reilly), or The Quick Python Book (Manning)."

—David Mertz, Ph.D., IBM DeveloperWorks®

 

"I have been doing a lot of research [on] Python for the past year and have seen a number of positive reviews of your book. The sentiment expressed confirms the opinion that Core Python Programming is now considered the standard introductory text."

—Richard Ozaki, Lockheed Martin

 

"Finally, a book good enough to be both a textbook and a reference on the Python language now exists."

—Michael Baxter, Linux Journal

 

"Very well written. It is the clearest, friendliest book I have come across yet for explaining Python, and putting it in a wider context. It does not presume a large amount of other experience. It does go into some important Python topics carefully and in depth. Unlike too many beginner books, it never condescends or tortures the reader with childish hide-and-seek prose games. [It] sticks to gaining a solid grasp of Python syntax and structure."

—http://python.org bookstore Web site

 

"[If ] I could only own one Python book, it would be Core Python Programming by Wesley Chun. This book manages to cover more topics in more depth than Learning Python but includes it all in one book that also more than adequately covers the core language. [If] you are in the market for just one book about Python, I recommend this book. You will enjoy reading it, including its wry programmer's wit. More importantly, you will learn Python. Even more importantly, you will find it invaluable in helping you in your day-to-day Python programming life. Well done, Mr. Chun!"

—Ron Stephens, Python Learning Foundation

 

"I think the best language for beginners is Python, without a doubt. My favorite book is Core Python Programming."

—s003apr, MP3Car.com Forums

 

"Personally, I really like Python. It's simple to learn, completely intuitive, amazingly flexible, and pretty darned fast. Python has only just started to claim mindshare in the Windows world, but look for it to start gaining lots of support as people discover it. To learn Python, I'd start with Core Python Programming by Wesley Chun."

—Bill Boswell, MCSE, Microsoft Certified Professional Magazine Online

 

"If you learn well from books, I suggest Core Python Programming. It is by far the best I've found. I'm a Python newbie as well and in three months time I've been able to implement Python in projects at work (automating MSOffice, SQL DB stuff, etc.)."

—ptonman, Dev Shed Forums

 

"Python is simply a beautiful language. It's easy to learn, it's cross-platform, and it works. It has achieved many of the technical goals that Java strives for. A one-sentence description of Python would be: 'All other languages appear to have evolved over time--but Python was designed.' And it was designed well. Unfortunately, there aren't a large number of books for Python. The best one I've run across so far is Core Python Programming."

—Chris Timmons, C. R. Timmons Consulting

 

"If you like the Prentice Hall Core series, another good full-blown treatment to consider would be Core Python Programming. It addresses in elaborate concrete detail many practical topics that get little, if any, coverage in other books."

—Mitchell L Model, MLM Consulting

 

"Core Python Programming is an amazingly easy read! The liberal use of examples helps clarify some of the more subtle points of the language. And the comparisons to languages with which I'm already familiar (C/C++/Java) get you programming in record speed."

—Michael Santos, Ph.D., Green Hills Software

 

The Complete Developer's Guide to Python
  • New to Python? The definitive guide to Python development for experienced programmers
  • Covers core language features thoroughly, including those found in the latest Python releases—learn more than just the syntax!
  • Learn advanced topics such as regular expressions, networking, multithreading, GUI, Web/CGI, and Python extensions
  • Includes brand-new material on databases, Internet clients, Java/Jython, and Microsoft Office, plus Python 2.6 and 3
  • Presents hundreds of code snippets, interactive examples, and practical exercises to strengthen your Python skills

Python is an agile, robust, expressive, fully object-oriented, extensible, and scalable programming language. It combines the power of compiled languages with the simplicity and rapid development of scripting languages. In Core Python Programming, Second Edition, leading Python developer and trainer Wesley Chun helps you learn Python quickly and comprehensively so that you can immediately succeed with any Python project.

 

Using practical code examples, Chun introduces all the fundamentals of Python programming: syntax, objects and memory management, data types, operators, files and I/O, functions, generators, error handling and exceptions, loops, iterators, functional programming, object-oriented programming and more. After you learn the core fundamentals of Python, he shows you what you can do with your new skills, delving into advanced topics, such as regular expressions, networking programming with sockets, multithreading, GUI development, Web/CGI programming and extending Python in C.

 

This edition reflects major enhancements in the Python 2.x series, including 2.6 and tips for migrating to 3. It contains new chapters on database and Internet client programming, plus coverage of many new topics, including new-style classes, Java and Jython, Microsoft Office (Win32 COM Client) programming, and much more.

  • Learn professional Python style, best practices, and good programming habits
  • Gain a deep understanding of Python's objects and memory model as well as its OOP features, including those found in Python's new-style classes
  • Build more effective Web, CGI, Internet, and network and other client/server applications
  • Learn how to develop your own GUI applications using Tkinter and other toolkits available for Python
  • Improve the performance of your Python applications by writing extensions in C and other languages, or enhance I/O-bound applications by using multithreading
  • Learn about Python's database API and how to use a variety of database systems with Python, including MySQL, Postgres, and SQLite
  • Features appendices on Python 2.6 & 3, including tips on migrating to the next generation! 

Core Python Programming delivers

  • Systematic, expert coverage of Python's core features
  • Powerful insights for developing complex applications
  • Easy-to-use tables and charts detailing Python modules, operators, functions, and methods
  • Dozens of professional-quality code examples, from quick snippets to full-fledged applications


From the Back Cover

  • New to Python? This is the developer's guide to Python development!
  • Learn the core features of Python as well as advanced topics such as regular expressions, multithreaded programming, Web/Internet and network development, GUI development with Tk(inter) and more
  • Also includes features found in the new Python 1.6 and 2.0 releases
  • CD-ROM: Complete Python distributions (source code, documentation, and various binaries) plus all example scripts in the book

Python is an Internet and systems programming language that is soaring in popularity in today's fast-paced software development environment, and no wonder: it's simple (yet robust), object-oriented (yet can be used as a procedural language), extensible, scalable and features an easy to learn syntax that is clear and concise. Python combines the power of a compiled object language like Java and C++ with the ease of use and rapid development time of a scripting language. In fact, it's syntax is so easy to understand that you are more likely to pick it up faster than any of the other popular scripting languages in use today!

In Core Python Programming, Internet software engineer and technical trainer Wesley Chun provides intermediate and experienced developers all they need to know to learn Python-fast. Like all Core Series books, Core Python Programming delivers hundreds of industrial-strength code snippets and examples, all targeted at professional developers who want to leverage their existing skills! In particular, Core Python Programming presents numerous interactive examples that can be entered into the Python interpreter right in front of you! Finally, we present a chapter that shows you step-by-step how to extend Python using C or C++.

  • Python syntax and style
  • Development and Run-time Environments
  • Objects and Python memory management
  • Standard data types, methods, and operators
  • Loops and conditionals
  • Files and Input/Output
  • Exceptions and error handling
  • Functions, scope, arguments, and functional programming
  • Importing modules and module attributes
  • Object-oriented Programming with classes, methods, and instances
  • Callable Objects
  • Extending Python

Coverage of the Python standard module library and client-server application development includes comprehensive introductions to the following topics in Python programming:

  • Regular expressions
  • TCP/IP and UDP/IP Network programming using sockets
  • Operating system interface
  • GUI development with Tk using Tkinter
  • Multithreaded programming
  • Interactive Web/CGI/Internet applications
  • Executing code in a restricted environment
  • Inheritance, type emulation, operator overloading, and delegation in an OOP environment

Finally, we provide an introduction to the new features introduced in Python 1.6. These include Unicode string support, the new function invocation syntax which lets the caller provide a tuple of positional arguments and/or a dictionary of keyword arguments, and the new string methods. We also provide a glimpse into features that will only be found in the newer 2.0 release.

Every Core Series book:

  • DEMONSTRATES how to write commercial-quality code
  • FEATURES dozens of programs and examples!
  • FOCUSES on the features and functions most important to real developers
  • PROVIDES objective, unbiased coverage of cutting-edge technologies-no
  • hype!

Core Python Programming delivers:

  • Coverage of the core parts of the Python language
  • Real-world insights for developing Web/Internet, network, multithreaded and GUI applications
  • Tables and charts detailing Python modules, built-in functions, operators, and attributes
  • Code snippets to try live with Python's interactive interpreter, hammering the concepts home
  • Extensive code examples-including several complete sample applications

CD-ROM includes complete Python source code and documentation distributions for Unix/Linux along with binaries for Windows and Macintosh platforms plus source code for all examples in the book.

--This text refers to an out of print or unavailable edition of this title.

Product Details

  • Paperback: 1136 pages
  • Publisher: Prentice Hall PTR; 2 edition (September 28, 2006)
  • Language: English
  • ISBN-10: 0132269937
  • ISBN-13: 978-0132269933
  • Product Dimensions: 9.2 x 7.1 x 2.3 inches
  • Shipping Weight: 3.1 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (37 customer reviews)
  • Amazon.com Sales Rank: #318,838 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #50 in  Books > Computers & Internet > Programming > Languages & Tools > Python

More About the Author

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

Visit Amazon's Wesley Chun Page

Look Inside This Book

Citations (learn more)
1 book cites this book:

What Do Customers Ultimately 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.
 
(10)

Your tags: Add your first tag
 

 

Customer Reviews

37 Reviews
5 star:
 (18)
4 star:
 (10)
3 star:
 (5)
2 star:
 (1)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (37 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
30 of 31 people found the following review helpful:
5.0 out of 5 stars Highly recommended for beginners, January 13, 2002
By Paul Ammann (New Fairfield, CT United) - See all my reviews
(REAL NAME)   
For the last few months I was developing in Perl. But I found myself very frustrated with the syntax, and the Perl books on the market did a so-so job on explaining how everything worked.

And then I came across this book. I had read a review about in the Linux Journal. In 2 days I "inhaled" 200+ pages of this book, about 7 chapters. To begin with, this book is easy to understand, has numerous examples to go long with the text, and does an excellent job in progessing through Python.

The first 400 pages cover syntax, style, functions, classes, modules, etc. If you've ever programmed in another language (C, C++, Java, Perl), Mr. Chun compares Python to each of them in simularities and differences. You should be pick up on these quite easily. The last part of the book in more advanced topics, which I found quite enjoyable.

I don't program in Perl anymore. After reading this book, I wonder why I didn't look at Python first. Aside from a book on Tkinter, this is the only book that I keep on my desk. It's great for teaching and learning, but makes a great reference book also.

Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
14 of 15 people found the following review helpful:
4.0 out of 5 stars I agree with the reader from Menlo Park, CA..., February 4, 2001
By A Customer
The author's writing style is very similar to Bruce Eckel's. Both authors present somewhat abstract concepts in a clear and concise way that makes reading their material enjoyable. I highly recommend this book for any novice programmer wanting to learn Python. Chun does a good job explaining OOP concepts, so if you only have experience with a procedural language (C, Pascal, etc.)don't worry. If you are a programming expert, purist, guru, or OOP king you may find this book a bit long and shallow.:)
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
12 of 13 people found the following review helpful:
5.0 out of 5 stars good all around python book, December 14, 2001
This book is an excellent read for someone new to python but with some other programming knowledge. This was my first exposure to Python (coming from Perl) and I found this book very helpful. The author explains things very thoroughly and intuitively. He writes a lot of prose and not just all code examples, but good explanations also. I found myself reading this most times without a computer in front of me. So by the time I actually sat down and dug into the syntax, I was already very familiar with the basic concepts of the language. It touches on most subjects I was looking for.

It may not be for the extreme beginner or as the end-all reference for gurus, but for us in between its just whats needed.

this is easily one of the better programming books I've read.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

4.0 out of 5 stars Excellent reference for Python
Summary: Core Python Programming lives next to my keyboard.

Having been programming, in a scientific role, for a decade, I recently took up Python. Read more
Published 14 days ago by Steven Morley

1.0 out of 5 stars Avoid this textbook pretender--ANNOYED
I purchased this book from a bricks and morter bookstore and after spending a frustrating week with it realized the the annoying habit of the author presenting a snippet of code... Read more
Published 4 months ago by TOC

5.0 out of 5 stars Excellent
This is by far the best of the five Python books I have, and one of the best general programming books I've read. Read more
Published 6 months ago by N. Childs

3.0 out of 5 stars So-so
This was recommended in a review on Slashdot, but I'm a little disappointed. Sometimes Chun just gives code with no explanation, and other times he glosses over examples of how to... Read more
Published 11 months ago by mtlimber

1.0 out of 5 stars disappointed: bad production
I got this book because of its many positive reviews, but I'm not happy with it.

I'm a professional programmer. Read more
Published 17 months ago by gmale

5.0 out of 5 stars Easy to read and understand, great for learning Python quickly
I recently changed my job. My new company uses Python as the main technology. Before starting this job, I didn't know Python at all. Read more
Published 20 months ago by Walter Alvey

5.0 out of 5 stars A wealth of information for newbie and advanced Python programmers.
I'm relatively new to Python, having programmed in 'C' and Pascal for many years, and have found this book to be a very good first book to read. Read more
Published 22 months ago by L. Cullen

2.0 out of 5 stars This will be discussed in the next chapter.. Recall from section
This book has small snippets of insight, unfortunately they are scattered across over 1000 pages. The book seems to take a general format of: 1) "Here is an idea or concept - not... Read more
Published 22 months ago by RF RDC

4.0 out of 5 stars Knowledge & Common Sense
Fellow Programmers,
I am new to Python and found this book to be a comprehensive source of information. Read more
Published 23 months ago

5.0 out of 5 stars Great introductory book to Python
Sure, the book is huge ( over 1000 pages ) but it is a rather easy
reading (then again I already knew a few other programming languages)
and it covers the kind of... Read more
Published 23 months ago by G. Salazar

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...

Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.