Sponsored
Used - Good
$8.98
FREE delivery May 12 - 14
Ships from: ThriftBooks-Baltimore
Sold by: ThriftBooks-Baltimore
$8.98
Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less See less
FREE delivery May 12 - 14. Details
In stock
$$8.98 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$8.98
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by ThriftBooks-Baltimore.
$8.98
May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less See less
FREE delivery May 12 - 14. Details
In stock
$$8.98 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$8.98
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by ThriftBooks-Chicago.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Core Python Programming

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Core Python Programming 2nd Edition

4.4 out of 5 stars (63)

{"desktop_buybox_group_1":[{"displayPrice":"$8.98","priceAmount":8.98,"currencySymbol":"$","integerValue":"8","decimalSeparator":".","fractionalValue":"98","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"l0rlFWG5AVQfGuFHPNN2FF%2B%2BrIthHbXihkGCKc%2BDg4ZOrYCVvADy8PMQf7m5JC2uCaTwfCU%2F86DcZA9lF%2FflLXh95UYdD%2Bn0YG1wFCzMMn8CYmkFbRgQPxdwj5wfa0PWaa5s4JpF%2FxEOe4N%2FrMsnOI7rj2RQFYNu%2FW13Jj8PlwE%2B%2BVu4WucQiKxINS%2BghUdF","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":0}, {"displayPrice":"$8.98","priceAmount":8.98,"currencySymbol":"$","integerValue":"8","decimalSeparator":".","fractionalValue":"98","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"l0rlFWG5AVQfGuFHPNN2FF%2B%2BrIthHbXiB1Np2yaeY7zCBYJMuEoh%2FtFWFS9w0q0IKYKr%2FgWG87xPyjdSdiCqzwBUyXBRbEXA1gfzP2YqTU0tBdzDpvyiy9s%2FFXc9iNbHIjfJbG5ZtIWBrnW1MwZKpkgKhoQHGAyp6EriKMLG5qfGFTGJlX6c9g%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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

There is a newer edition of this item:

Core Python Applications Programming
$31.08
(60)
Usually ships within 9 to 10 days
Sponsored

Editorial Reviews

From the Author

Update for 20126:04PM PST, December 11, 2011Unbelieveably 4 years have passed since my last post. Some of you saw the Amazon page for Core Python Applications Programming with a "3rd edition" tag. I'm sure you'll naturally assume that it's the 3rd ed. of Core Python Programming but may be confused by the name change. To clarify: it is... sort of.

Two things occurred which led us here: the 1st is a shortage of books on the market to help the intermediate Python developer. What do you do after you've learned Python? You may have read
Dive into Python, Beginning Python, or Learning Python, and have written some basic tools/apps but have nowhere to turn other than dive deeply into specific topics w/books about game programming, databases, graphics/multimedia, GUIs, networking, etc.

If you want more than one skill you'd have to buy a book on every topic. This is overkill, esp. if you're only interested in expanding your skillset. In those cases you're not ready to dive that deep. You'll spend a lot, read a few chapters, then they'll collect dust (unless you're being paid or want to become an expert). This is the exact reason why I wrote "Part II" of
Core Python Programming calling it "Advanced Topics". After spending a year (most of 2000) writing what I thought was the entire book, I asked myself, "Wait, I've just taught all these folks Python, but I didn't really show what they could build with it." Part II was written as a result.

Another thing that happened is that the book grew quite significantly. Originally 810 pages long, it bloomed to 1120 for the 2nd ed. With the new material for the 3rd ed., a massive tome would be difficult & expensive to publish plus would cause an unnecessary burden upon readers (unless getting an electronic edition). Thus I am pleased to announce that those chapters have been extracted to form their own book,
Core Python Applications Programming!

The contents have been cleaned up and retrofitted w/Python 3 examples paired w/their 2.x friends as a hybrid to help you learn both 2.x & 3.x. You'll find that many chapters have new material including: NoSQL/non-relational databases featuring MongoDB, more Microsoft Office® examples using Outlook & PowerPoint (including the text-to-slide generator some of you have seen me use at conferences), interfacing w/Twitter, using Yahoo!Mail & Gmail to send/receive email, and even doing social media analysis w/Google+! There are also brand new chapters on Web framework development using Django, an introduction to cloud computing w/Google App Engine, and text processing w/CSV, JSON, and XML. The purpose is to provide comprehensive intros to but not go deep into any particular topic; please adjust any expectations appropriately. We hope you are as excited about the new book as we are!

The material making up "Part I" of the original book will take another couple of years to complete due to all the changes coming from Python 3 and not on the horizon at this time, so if you are a programmer completely new to Python, we still recommend the 2nd edition of
Core Python Programming as the best place to go learn Python as quickly and as in-depth as possible. You'll get a great preview of Core Python Applications Programming there too! Also I look forward to meeting some of you at an upcoming conference or in one of my training courses!

Core Python Programming FAQs1:24 AM PDT, October 30, 2008; last updated 9:17AM PST, December 10, 2012Wow, I can't believe it's already been 2 years since the 2nd edition was published... thanks for all your support! I'm writing again because many of you have asked about a 3rd edition as well as Python 2.6+ & 3.x.

Q: Will there be a 3rd edition for Python 3.0?A: I've already added sections on 3.x & 2.6+ to the newest printings, but did not update this book for 3.0 because: 1) if I made updates w/every release of Python, I would no longer be employed nor have a family, 2) as a programmer, I really don't want to put anything on paper (and sell it) for a ".0" release of any software, including Python, and 3) it generally takes several years between editions before there is enough material to warrant a reexploration of the manuscript. 3.x definitely qualifies, so really it's reason #2. Keep an eye out for something after 3.5 though.

Q: Is the book outdated now due to Python 2.6+ & 3.x?A: No! Some of you who have met me in person or have heard me speak will know that my philosophy is to teach readers the core features of the language and not focus on minor features that come w/every release. (Chances are that you won't be using them anyway!) The book has been created especially to be version-independent. Any important version-specific gotchas are highlighted w/annotations (look for release number markers in the margins). Also in 2009, I added 2 new appendices that discuss 3.x and the role of the final 2.x releases (2.6-2.7). These will only appear in the 5th and newer printings -- look for a red star on the cover.

Q: Why does the book have "a lot of mistakes in it," use thick paper, and have large fonts?A: There are very few errors in the text now as all of the items on the Errata have been fixed in printings since 2009. The paper was thick only for the 1st edition, and the fonts are slightly larger than normal as it makes the manuscript easier and faster to read.

Q: How's the book selling?A: Thanks goes to those of you who have made it a bestseller! The book has had 6 printings now and has already completely outsold the 1st book! Now the publisher has asked for a 3rd edition!

It's here!!2:23 PM PDT, September 14, 2006, updated at 12:29 AM PDT, October 11, 2006Thanks for tuning in to the Amazon page for Core Python Programming. 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[!]), including confirmed functionality for future versions. Also added are 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.

The book's main focus 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 material in the 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. Go to the book's website to download the code or check out the errata. When new versions of Python are released, look there for supplementary material to augment your book, keeping it as up-to-date as possible! I also offer public and private Python training courses and seminars should you feel the need for a "live" experience. I have written the book in an accessible style, reading as if I was having a conversation w/you, or if I was delivering a lecture to you attending one of my courses. Enjoy!

From the Back Cover

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

Product details

  • Publisher ‏ : ‎ Pearson P T R
  • Publication date ‏ : ‎ January 1, 2006
  • Edition ‏ : ‎ 2nd
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 1120 pages
  • ISBN-10 ‏ : ‎ 0132269937
  • ISBN-13 ‏ : ‎ 978-0132269933
  • Item Weight ‏ : ‎ 3.45 pounds
  • Dimensions ‏ : ‎ 7 x 2 x 9.25 inches
  • Best Sellers Rank: #3,834,495 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.4 out of 5 stars (63)

About the author

Follow authors to get new release updates, plus improved recommendations.
Wesley Chun
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

WESLEY J. CHUN, MSCS, is the author of Prentice Hall's bestselling "Core Python" book series (corepython.com), the "Python Fundamentals" companion video lectures, co-author of "Python Web Development with Django" (withdjango.com), and has written for Linux Journal, CNET, and InformIT. In addition to being a software architect & Developer Advocate at Google, he runs CyberWeb (cyberwebconsulting.com), a consultancy specializing in Python education & engineering. Wesley has over 25 years of programming, teaching, and writing experience, including more than a decade of Python. While at Yahoo!, he helped create Yahoo! Mail and Yahoo! People Search using Python. Wesley holds degrees in Computer Science, Mathematics, and Music from the University of California.

Sponsored

Customer reviews

4.4 out of 5 stars
63 global ratings
Sponsored

Customers say

Customers find this Python programming book comprehensive and thorough, serving as a great reference guide. The content receives positive feedback, with one customer highlighting the excellent sample code and another noting the treatment of Object-Oriented Functionality. Customers appreciate the language's clarity, with one describing it as very easy on the eyes. The writing quality is well-received, with one customer specifically praising the chapter on writing Python code.
AI Generated from the text of customer reviews

Select to learn more

19 customers mention comprehensive, 19 positive, 0 negative
Customers find the book comprehensive and thorough, serving as a great reference for learning Python, with one customer noting its clear explanation of programming paradigms.
...I recommend it! Complete introduction a la programmation en Python. Je le recommande !Read more
Rookie or pro, this is the complete book on Python. Author does a great job teaching without getting overly technical or verbose.Read more
really helpful book. It has a lot of exercises, which I find really useful :)....Read more
...But overall the book is a great introduction to Python, and it teaches lots of general concepts of programming languages as well....Read more
15 customers mention content, 13 positive, 2 negative
Customers find the content of the book excellent, with one customer particularly appreciating the sample code and another noting the appropriate brevity of code snippets.
...This is an excellent book, as Mr. Chun does well what he sets out to do....Read more
Good book. It covers most of 2.X. I wish it also covered 3.X i more detail. But what ever topics are covered the content is well written.Read more
...I must say this was a great book for someone trying to correlate concepts with another programming language ....Read more
...through "Learn Python the Hard Way" and found this book to have good depth while clearly explaining programming paradigms and concepts...Read more
9 customers mention language, 8 positive, 1 negative
Customers appreciate the language in the book, with one customer noting it is very easy on the eyes and another mentioning it teaches general programming concepts.
...The language is lucid and the author gets straight down to an example without beating around the bush....Read more
...documentation while going through this book, it does a good job of introducing the language.Read more
...versed in Python and software engineering engineer would - no Python 'baby talk' , no explaining that variable is a place to store data in memory...Read more
...is a great introduction to Python, and it teaches lots of general concepts of programming languages as well. Would recommend for beginners.Read more
5 customers mention writing quality, 4 positive, 1 negative
Customers appreciate the writing quality of the book, with several noting that the content is well written, and one customer highlighting the chapter on writing Python code and another mentioning the ability to edit demo scripts.
...But what ever topics are covered the content is well written.Read more
...'s online documentation and I was able to connect to a database, read & write files, display a web page and a few other things....Read more
...I was surprised to see a chapter on writing Python code to make use of MS Office programs like Word, Excel, and Powerpoint....Read more
...You have to allow for the incoherence in the writing and the policy of scattering discussions of a topic over many pages with discussions of other...Read more

Top reviews from the United States

  • 5 out of 5 stars
    If you want to code python, this is the book.
    Reviewed in the United States on December 14, 2010
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    As an intermediate programmer(mainly familiar with adapting scripting languages like bash and perl to perform basic - and much more complex - tasks on my computer ranging from sys admin stuff to creating my own database systems - foolishly), finding Core Python was a revelation for me, and is absolutely THE book I'd recommend to anyone who wants to learn the language. I've read 1000's of pages of Python texts, and paid hundreds of dollars, and wasted months and months doing so. Core Python would have saved me these grotesque expenditures, and only bothered writing this in the hopes of sparing other intermediate and beginning programmers from my fate. Here's the deal:

    My background:

    20 years in computing, 7 in linux, *no* background in object-oriented programming, know *very* *basic* Java, once wrote a small program in C++ by following instructions in high school (to whit: NONE), bunch of web-design, and have comprehensive and extensive understanding (both practical and theoretical) of MIDI/music technology in general, with which I have been working for the past 14ish years (including writing my own parsing programs and building front-ends for numerous practical applications), almost a year of building my own database programs from scratch (to read: bash... from nothing). So, I'm totally no one I'd brag about (not a code jedi or anything), but I do know how to program, and know how to learn a new language... and, if you're at all like me, then you will love Core Python. But, I'm getting sidetracked. I think it's always important to know WHY someone wanted to learn a language before reading their review of a survey course in the language so...

    Why I wanted to learn python:

    I had gotten back into programming (and had returned to Linux after a long hiatus) after discovering how far ye olde OS had come in regards to music/audio programming. I was now able to leverage the scripting power of Bash to accomplish things that, years before, would have been unheard of. This made the scripting world of old new again, and I was addicted to programming all over again. Then, I wanted to port some of my more complicated database programs to other systems and really learn a full-fledged oop language at the same time. I had heard great things about Python, so that's where I went. I decided to learn Python...

    The horrible world of useless and expensive python books:

    And I ran into a brick wall of horrible books that were as expensive as they were useless. I was no stranger to new languages, and yet I COULD NOT FIND A BOOK that could walk me through Python in any logical, reliable, or efficacious way. I've read all four of the major texts on the subject, and have found them all to be terrible at actually teaching the language (and each has generally failed me in it's own specific way... with the exception of the Lutz O'Reilly "Learning Python Book," which is such a quagmire that's it's difficult to decide if it's simply an incomprehensibly ludicrous exercise in absurdism or the worst attempt at creating a survey of any language I have ever read). These books were so disappointing... I was focused, ready, had a lot of previous programming experience, the willingness for rigorous study, and the understanding of the process of learning a new language, yet I could not find a book that was at all adequate. UNtil I read about Core Python on some obscure university thread... the thread had been replied to by Mr Chun, and his explanation of the problem was so elegant, and with a demeanor so (unfortunately) lacking in most current python circles, that I had to give python one more try... If only I had started with Core Python, I wouldn';t have wasted hundreds of dollars (and, worse, FAR TOO MANY HOURS) with books written to ride the Python craze. CORE PYTHON is the only book I've found that approaches the language in a comprehensive fashion, with limited wind, outlining the essential functions for programming, organized in such a way that it can get anyone with experience in a different language up and running *VERY* fast (a kind of choose-your-own-adventure structure to programming that isn't bewildering or obtrusive). Likewise, it doubles as an excellent reference. The best part, though, is that it provides excellent sample code, and operates with the underlying assumption that you expect to learn by coding yourself (hence the excellent excercises at the end of each chapter; something that very few of the major python books I've read have bothered with at all, and, of the few which have, haven't been done well).

    In short, this is one of the best books to introduce you to (as the title says) Core Python. If you want to learn to code in Python, regardless of previous (or lack of previous) progamming experience, there is no other text that truly teaches through an incremental process and then expects you to code at the conclusion of the sections. I could rrant and rave about how great I think it is, but let me simply say that, when the edition covering 3.1 comes out, I can't wait to buy and devour it (and keep it as my new standard reference for the syntax of the new version of the language).

    The only other book that comes close to Core Python is "Beginning Python" but that doesn't take quite the serious and comprehensive and details oriented approach as CP.

    5 stars.

    13 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    I'm Learning Python Programming From This Book
    Reviewed in the United States on May 2, 2012
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This is for the April 2009, fifth printing of the Core Python Programming (2nd Edition) book.

    I am half way through this book, and I have to say: So far, this book has been a pleasure to learn Python from. I'm on my 7th or 8th day of reading from the beginning. I already know how to program in various languages, so I can tell that Python is a one of a kind language that got its ideas from the best of other languages and combined them into an easy to read (and code) computer language.

    There are some typos in the text. But the meaning of the text is not lost. So they don't bother me at all. The book not only teaches Python programming, it also teaches the how and why Python's language and interpreter is designed the way it is. For many students that don't like to read, this will be a problem. For many students that want to skip ahead, this will be a problem. For each chapter and section is built on previous chapters and sections.

    Now, in little over a week, I'm half way through the book after reading it from the beginning and going through the examples using Python 2.54 on Windows XP (I'm skipping over the exercises at the end of each chapter). I'm in chapter 13 now, which covers object-oriented programming. And I get it. I could not get it fully in C++. But in Python, I get it. It doesn't feel all that abstract to me. The point I'm trying to make here is that in over a week, I know a lot more about Python than before I opened this book (which was none). So I don't understand the complaints from people that are not able to learn Python from this book. Maybe they were thinking they could learn everything about Python in just a few days? That is very unrealistic of them.

    I find the Python language very easy on the eyes. And its power is right there. Not in some compiler object linker traversing endless ";" and "{ }" and other characters and needless lines of code that are eye and typing sores. And the dreaded word "prototype" hasn't appeared in the 540 pages I've read so far. In my C++ books, I can't read more than a few paragraphs without seeing the word "prototype" mentioned. I'm glad that Python, and also this book, do not rely on the use of Hungarian Notation for variable naming.

    I was surprised to see a chapter on writing Python code to make use of MS Office programs like Word, Excel, and Powerpoint. I'm looking forward to going through those examples in the book. I already have some ideas I want to try there.

    When I finish this book, I will return and add more to my review.

    UPDATE:

    I finished the book a few days ago. But I admit though that I did skip the following chapters:

    Chapter 15 -- Regular Expressions

    Chapter 16 -- Network Programming

    Chapter 20 -- Web Programming

    Chapter 21 -- Database Programming

    I still read through the chapters. But I didn't do any of the examples because I either didn't have a network server to test with, or I didn't have some needed additional software (like a CGI server). I was able to do the chapter on generating input for Word, Excel, Outlook, and PowerPoint from Python. There's a Python script to download from the corepython website that brings the four MS Office Python scripts you create together into a single demo program. It bombed whenever I selected my Outlook Python script from it. But I was able to edit the demo script so that it worked with my scripts (or I could have edited my Outlook script to work with the demo script). So that's how good this book is if it taught me how to debug Python code after only two weeks.

    The other problem I had was with MS Visual C++ 6. My version of Python was written in Visual C++ 7.1 (aka Visual C++ 2003). All my tricks didn't work on getting Python extensions made using Visual C++ 6. So I said my good-byes to a fairly expensive and hardly ever used Visual C++ 6 and then found myself a very old copy of a free MinGW online that included a build of GCC 4.3.3 that worked perfect for making extentions for Python 2.5.4. Then I was able to do the exercise in this book, which involved using a GCC compiler.

    I don't know which chapter I liked best. They are all good. I do know that I will be keeping this book nearby at all times while writing Python programs. It's a great reference book as well as a great teaching book.

    FAST FORWARD NINE YEARS:

    I recently jumped from Python version 2.5.4 to version 3.9.4, and have been converting my projects over to the newer Python. I was hoping that the author had written a Core Python Programming book for 3.7 or 3.8, because 3.9 is still relatively new. I'll be replacing my 2.5 books with newer editions soon.

    Yes, I still love Python. Maybe more so.

    6 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Excellent overall book
    Reviewed in the United States on January 10, 2007
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This was my first Python book and I was learning Python for the first time after spending years in Java . I must say this was a great book for someone trying to correlate concepts with another programming language . It bring out the powerful concepts on Python very well especially the string/list functionality. I also liked its treatment of Object Oriented Functionality as well as the description of Python's functional features. The language is lucid and the author gets straight down to an example without beating around the bush. I am giving it 4 stars only because I didn't find its treatment of Regular Expressions as extensive as I hoped and I had to refer to other books/online to get more examples .

    8 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    A clear, organized, detailed, exposition - not a quick dive
    Reviewed in the United States on July 12, 2011
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    If you are trying to decide whether to get Core Python or Dive into Python, you will find the answer in the way you like to learn.

    Dive into Python if for the impatient programmer, that wants to get started as quickly as possible, knowing that you can always go back to the docs when you get stuck. I tried reading Dive into Python, and I found it unpleasant, because I don't like to learn that way, leaving me with too many questions unanswered.

    Core Python is for those of us that like to know the rules before we start playing the game. Mr Chun does an excellent job of communicating the details that you would find in a language specification, but in comfortable language that makes it easy to understand and remember the concepts.

    The comparisons to Bruce Eckel (Thinking in Java) are appropriate, Chun and Eckel are similar in style, though Chun seems to me more clear, and less verbose.

    The table of contents is well thought out, and when concepts in one chapter are closely related to another chapter Chun helpfully references where you would look to read more on the related topic. The code snippets are appropriately brief, containing the necessary detail for the concept at hand.

    This is an excellent book, as Mr. Chun does well what he sets out to do. If you are interested in a detailed exposition that will continue to serve as a great reference, I recommend Core Python.

    27 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Excellent book for the targeted readership
    Reviewed in the United States on November 15, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    First, don't look at the publishing year - 2006, as Python 2.x reigns the production code and shows no sign of demise this book is as relevant now as it was back in 2006. As others mentioned it is probably not the best fit for the beginners to programming. The author wrote this book as a well versed in Python and software engineering engineer would - no Python 'baby talk' , no explaining that variable is a place to store data in memory and later retrieve it, etc.. It is exactly what makes it a 5-star book for me - going straight to the core of the Python, showing how to code and do it the best/professional way. E.g. he not only shows how to concatenate sequences, but also recommends against doing so with "+" cause it produces a sub-optimal code and the book is reach with such experience based advice. This book can take you from a zero in Python to beginner+ level. The exercises included progress from the easy ones to the challenging but still doable tasks.

    5 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 3 out of 5 stars
    Very good, BUT strictly Python Version Two
    Reviewed in the United States on February 6, 2017
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    The book is large and comprehensive in many respects, but... (big "but" for me), it's 99% devoted to version two of Python. There are only a very few scattered references to the version 3 rewrite that people are encouraged to use for new applications. Given that the two version are not compatible - e.g. some built-in functions are gone or replaced by new ones, other functions have moved to new modules, ... - some of the sections and exercises just don't work or have to be modified by looking at the version 3 documentation. Not to be totally negative, I haven't found a comparable book that is focused on Python version 3, so if you're willing to spend some time looking at the version 3 documentation while going through this book, it does a good job of introducing the language.

    One person found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    After teaching myself Python, this book is what I needed
    Reviewed in the United States on January 29, 2014
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    When you teach yourself, you miss things. There are subjects that you don't cover, and there are things under the hood that you have no reason to understand.

    This book does a great job of covering Python in a comprehensive and thorough way. Within even the first two two chapters, I learned a dozen things that I would never have had reason to look at before. I'm continually thinking to myself "Oh, so *that's* why it works that way..."

    I'd definitely recommend having a browser and editor open while reading. Given all the versions of Python, you will want to see how your environment reacts to the concepts in the book.

    2 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Great depth and coverage; Excellent for readers/programmers with intermediate level exposure to programming
    Reviewed in the United States on March 25, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I have been programming in C/C++ for 2+ years and bought this book as I wanted to learn Python. I purchased the Kindle edition after having gone through "Learn Python the Hard Way" and found this book to have good depth while clearly explaining programming paradigms and concepts typical to the Python programming language.

    I read the "Part I" cover to cover which gave me a very good feel of most of the powerful features that I have at my disposal with this modern high-level language.

    I would highly recommend this book for any intermediate level programmer who is not looking for a primer to Programming but something that is more meaty and cuts right to the chase to start doing useful things with Python. I am sure I will keep coming back to this one for reference and reinforcing concepts that are not quite clear.

    Stuff that could be made better:

    -I would prefer a meatier introduction to generators and iterators.

    One person found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.

Top reviews from other countries

    Translated by Amazon
    See original
  • 5 out of 5 stars
    muy buen libro sobre python!
    Reviewed in Spain on February 20, 2013
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Muy buen libro sobre python, me ha ayudado mucho en la hora de aprender python! Asi que lo recomiendo a todos!

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Translated from Spanish by Amazon
    See original
  • 5 out of 5 stars
    Incontournable
    Reviewed in France on December 10, 2013
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Le texte est clair et pédagogique. Le sujet est traité de manière complète. Il permet aux débutants d’appréhender ce langage et aux confirmés d'approfondir les notions. Vivement une nouvelle édition remise à jour.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Translated from French by Amazon
    See original
  • 5 out of 5 stars
    sehr zufrieden immer wieder gerne
    Reviewed in Germany on December 28, 2013
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    sehr zufrieden immer wieder gerne sehr zufrieden immer wieder gerne sehr zufrieden immer wieder gerne

    pünktlich Ab wicklung schnell und korrekt Danke Gruß

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Translated from German by Amazon
    See original
  • 5 out of 5 stars
    Five Stars
    Reviewed in India on March 10, 2018
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Five Stars
    Reviewed in Canada on July 4, 2017
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Awesome book! Well done.

    Sending feedback...
    Thanks, we'll investigate in the next few days.