CPP 2e LINKS
Source Code
Errata/Corrigendum
Colophon
Book Reviews
Publisher Info
Sample Chapter
Amazon page
Library of Congress

OTHER LINKS
Python Docs
Download Python
Quick Reference
Python FAQ
Author Resume
Contact Author
Python Training


CPP 1e LINKS
Source Code
Errata/Corrigendum
Publisher Info
Amazon page


Shopping Exits

Retailers
Amazon
Nerdbooks
Bookpool
Overstock
Buy.com
Barnes & Noble

Shopping Engines
Best Book Deal
PriceGrabber
CampusI
Best Web Buys

Book Rankings

"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 [Lutz, Ascher (O'Reilly)], Programming Python [Lutz (O'Reilly)], or The Quick Python Book [Harms, McDonald (Manning)]"
-- D. Mertz, IBM DeveloperWorks
®
[Core Python Programming]
WHAT'S NEW!!

• Updated Book Reviews (Dec 30)
Python 3.0a2 released (Dec 7)
Jython 2.2.1 released (Oct 14)
• Book goes to a 3rd printing in August (Jul 31)
• Updated info on French releases; added
      English & French info sheets (May 25)
Python 2.5.1 released (Apr 19)
• Introduced ability to hide minor entries on Errata
      page plus added/updated pp. 444 & 603 errata.
      (2007 Apr 6)
• Fixed Download page w/corrected 2.3.* links (Dec 5)
• Added Linux (Pro) Magazine, Barnes & Noble, and
      Free Software Magazine Book Reviews (Dec 2)
• Book goes to a 2nd printing in December (Nov 26)
Core Python Programming is Prentice Hall's
      Featured Book of the Month (Oct 1)
2nd Edition hits the streets Sep 20 but
      may not be available to certain markets
      and retailers until Oct 4 or 31 (2006 Sep 18)

        "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 your book is now ... considered the standard introductory text." -- Richard Ozaki, Lockheed Martin

"Excellent reference book." -- the National Weather Service

2-page Highlights / Information Sheet
English
(1M PDF)
Français
(203K PDF)

I'm excited to bring you the latest incarnation of my book. In it, you will find updates as major as the changes in Python itself from the 1st edition days of 2.0 (2001). The 2nd edition is expanded (300 new pages!) and updated through Python 2.5 (released about the same time as this book[!]) as well as confirmed functionality for future versions. Also added are a few new chapters of advanced material. As in the 1st edition, a plethora of exercises can be found at the end of every chapter to hammer the concepts home. At the moment, this is the most complete and up-to-date Python book on the market today. Be sure to check back here for new supplemental material to augment the book as well as the Errata page for corrections as they are reported.

The main focus of the book is comprehensively teaching you the core of the Python language, much more than just its syntax (which you don't really need a book to learn, right?). Knowing more about how Python works under the covers, including the relationship between data objects and memory management, will make you a much more effective Python programmer coming out of the gate. The advanced topics chapters are meant as intros or "quick dives" into a variety of distinct subjects. If moving towards those specific areas of development, they are more than enough to get you pointed in the right direction. We would say that the book is 40% introductory, 40% intermediate (in-depth core Python material plus advanced topics chapters), and 20% reference -- it is not meant to be a substitute for a pure reference such as the Python Essential Reference or Python in a Nutshell.

The book's target audience: technical professionals or students already literate in another high-level language who want to pick up Python as quickly as possible. No computer science background is necessary. Just be receptive and willing to absorb and learn. As an aside, do you know how after learning a new language, it takes several months to really "feel comfortable" enough to *not* pick up a book in order to start coding? My goal is to reduce that time to as short as possible while providing the reader a comprehensive understanding of that relationship between Python types and its memory model that I just described above. It is my belief that a solid foundation here will reduce or eliminate any potential bugs you would've written without this knowledge.

The technical material in the book is one of the aspects of the book which people ask about and question, but there really isn't a need to! The "K&R" portion of the book is just Chapter 2, with the first chapter being totally introductory. People have been "astonished" to find that the chapter on functions appears so "late" in the book (Chapter 11, p. 408), and the same goes for Object-Oriented Programming (Chapter 13, p. 504), when both are primary features of Python and other prominent programming languages of today. The point is that "all you need to know" to get started (including functions and OOP) can be found in Chapter 2, with everything else serving as more detailed information beyond the basics. Such debate is evident as seen in a discussion last year on the comp.lang.python newsgroup.

The content of this book is very much of a community effort (just like Python)! I welcome all comments, suggestions, corrections, feedback, etc., as well as what new chapters to add to future editions. I also offer public and private Python training courses and seminars should you feel the need for a "live" experience. This website is meant to supplement the book... some of the things you will find here include:

  • Errata
  • Book Reviews
  • Publisher materials (i.e., Sample Chapters, Table of Contents, etc.)
  • Book source code (Creative Commons Attribution-SharedAlike2.5 License)
  • Quick links to download Python and to get Python documentation
  • Information on other versions of the book
  • Python Training and Author information

OTHER VERSIONS OF CORE PYTHON PROGRAMMING

  • Electronic (English) (O'Reilly & Associates [Safari])
            • Sep 2006, 1120 pp., ISBN 0-13-226993-7
            • Electronic subscriptions available
  • French (Pearson Education France/CampusPress)
            Au Cœur de Python
            • Jun 2007, Vol. 1: Notions fondamentales, 674 pp., ISBN-10 2744021482, 48/EURO [~$65 US]
                    • Retailers: Amazon.fr -- Le Monde en Tique
            • Jul 2007, Vol. 2: Notions avancées, 360 pp., ISBN-10 2744021954, 35/EURO [~$47 US]
                    • Retailers: Amazon.fr
  • (Simplified) Chinese (HZ Books/China Machine Press)
            • TBD
            • Manufactured and sold only in China

    FIRST EDITION

  • (Simplified) Chinese (HZ Books/China Machine Press)
            • Aug 2001, 532 pp., ISBN 7-111-08983-9, ¥75/CNY [~$9.75 US]
            • Manufactured and sold only in China
  • Electronic (English) (O'Reilly & Associates [Safari])
            • Oct 2001, 907 pp., ISBN 0-13-026036-3
            • Electronic subscriptions available
  • Indian (Addison Wesley Longman/Pearson Education Asia) [printed in English]
            • Fall 2001, 808 pp., ISBN 81-7808-273-X, 675 Rs./INR [~$16.55 US]
            • Online Indian retailers: Prakash Books -- NBC India -- SapnaOnline -- GT Enterprises
            • Manufactured in India and authorized only for sale in India, Bangladesh, Pakistan, Nepal, Sri Lanka, and Maldives
  • Korean (Pearson Education Korea)
            • May 2002, 774 pp., ISBN 89-450-7052-4, W 25,000/KRW [~$21.65 US]
            • English version also available from Korean retailer WowBook
  • Electronic (Chinese) (China e Book)
            • Aug 2004

OTHER WRITING

RECENT and UPCOMING TALKS

Introduction to Python (3-day course) CyberWeb Consulting
Mon-Wed; 2008 May 5-7
San Francisco (San Bruno), CA

Internet Programming with Python (tutorial) and
    Programming Microsoft Office using Python (session)
PyCon 2008
Thu-Sun; 2008 Mar 13-16
Chicago, IL (bio)

Programming Microsoft Office using Python (session) 2007 Silicon Valley CodeCamp
Sun, 2007 Oct 28
Los Altos Hills, CA (bio)

What is Python? (session) 2007 Silicon Valley CodeCamp
Sat, 2007 Oct 27
Los Altos Hills, CA (bio)

Internet Programming with Python (1-day seminar) CyberWeb Consulting
Sat, 2007 Oct 13
San Francisco (San Bruno), CA

(Comprehensive) Introduction to Python (3-day course) CyberWeb Consulting
Mon-Wed, 2007 Oct 8-10
San Francisco (San Bruno), CA

Experiences Developing Software for Clinical
    Trials and the Medical Industry
(session)
2007 O'Reilly Open Source Convention/
15th International Python Conference

Fri, 2007 Jul 27
Portland, OR (bio)

Core Python Programming
      (5-day combo Intro+Advanced course)
CyberWeb Consulting
Mon-Fri, 2007 May 14-18
San Francisco (San Bruno), CA

Intermediate Python Programming (12-week course) Foothill College
Tues, 2007 Apr 10 - Jun 26 (Spring Quarter)
Los Altos Hills, CA

[Core Python Programming]
[powered by Python]
© 2001-2008 CyberWeb Consulting
corepython (at) yahoo (dot) com

Last updated: $Date: 2008/02/22 10:35:56 $