Source Code
Book Reviews
Publisher Info
Sample Chapter
Amazon page
Library of Congress
Python Fundamentals
   (companion DVD)

Python Docs
Download Python
Quick Reference
Python FAQ
Author Biography
Author Resume
Contact Author
Python Training

Source Code
Publisher Info
Amazon page

Shopping Exits

Barnes & Noble

Shopping Engines
Best Book Deal
Best Web Buys

Book Rankings

Nov 2017 Announcement: the 3rd edition (of Volume 1) will cover both Python 2 AND 3!
Oct 2017 Website bug fixed so source code is now accessible again! (see left-nav)
Jul 2017 This book is now on its TENTH(!) printing & still in-print as Volume 1 as...
Mar 2012 Core Python Applications Programming is Volume 2 & covers Python 2 AND 3!

"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)"
-- D. Mertz, IBM DeveloperWorks
[Core Python Programming]

• Book soars to 10th printing (2017 Jul)
• Book hits its 9th printing (2016 Jun)
• Book goes to 8th printing (2013 Mar)
3rd edition of Part II hits the streetsTODAY! (Mar 9)
• Posted bonus Python 2.6+ & 3.x appendices for readers with
    old printings — books without a red star on the cover (Feb 25)
• Book crosses to its 7th printing (2012 Jan 31)
• Book goes to 6th printing (Mar 31)
• Added new Book Reviews (2011 Jan 5)
• Book reaches its 5th printing (2009 Apr 2)
Python Fundamentals published (Dec 23)
Python Web Development with Django published (Nov 3)
• Major updates/cleanup to Errata page (May 20) + minor fixes (Jun 11)
• Book gets to a 4th printing in Jun (2008 May 19)
• Book quickly gets to a 3rd printing in Aug (2007 Jul 31)
• Book goes to a 2nd printing in Dec (Nov 26)
Core Python Programming is Prentice Hall's
      Featured Book of the Month (Oct 1)
2nd Edition hits the streets Sep 20 (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
(1M PDF)
(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, with the newest printings having 2.6 and Python 3 material as well as confirmed functionality for future releases. 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 back in 2006 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




(Comprehensive) Intro+Intermediate Python (3-day course) CyberWeb Consulting
Tue-Thu, 2011 Oct 18-20
San Francisco (San Bruno), CA

What is Python? (session) 2011 Silicon Valley CodeCamp
Sat-Sun, 2011 Oct 8-9
Los Altos Hills, CA
What is Google App Engine? (session)

What is Google App Engine? (session) PythonBrasil
Thu-Sat, 2011 Sep 29-Oct 1
São Paulo, BR
Python 3: the Next Generation (session)

The Future of Computing (session) Congresso Brasileiro de Software
Mon-Fri, 2011 Sep 26-30
São Paulo, BR

What is Google App Engine? (session) PyCon Argentina
Fri-Sat, 2011 Sep 23-24
Junín, AR
Python 3: the Next Generation (session)

Google App Engine workshop (tutorial) O'Reilly OSCON
Mon-Wed, 2011 Jul 25-27
Portland, OR (bio)
Python 3: the Next Generation (session)

Introduction to Python, Cloud Computing & Google App Engine (workshop) ACM CSTA CS&IT Annual Conference
Mon-Wed, 2011 Jul 11-13
New York City, NY

Writing Books using Python & Open Source Software (session)
EuroPython 2011
Mon-Fri, 2011 Jun 20-25
Florence/Firenze, IT (bio)
Python 3: the Next Generation (is here already) (session)
Using Python in Software for the Medical Industry (session)
Python 103: Mmmm... Understanding Python's Memory Model, Mutability, and Methods (session)
What is Google App Engine? (session)

(Comprehensive) Intro+Intermediate Python (3-day course) CyberWeb Consulting
Tue-Thu, 2011 May 24-26
San Francisco (San Bruno), CA

Python@Google (invited talk) Google I/O 2011
Mon-Wed, 2011 May 9-11
San Francisco, CA

Google App Engine workshop (tutorial)
PyCon 2011
Wed-Sun, 2011 Mar 9-17
Atlanta, GA (bio)
Python 3: the next generation is here already (session)
Running pure Django apps on Google App Engine (session)

The Next Generation of Humanity (invited talk) Thomas Jefferson High School for Science & Technology
Fri, 2011 Mar 4
Alexandria, VA

Intermediate Python Programming (12-week course) Foothill College
Mondays, 2011 Jan 3 - Mar 21 (Winter Quarter)
Los Altos Hills, CA

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

Last updated: $Date: 2011/03/02 09:51:17 $