Beginning Python: From Novice to Professional / Edition 2

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $8.59
Usually ships in 1-2 business days
(Save 80%)
Other sellers (Paperback)
  • All (18) from $8.59   
  • New (9) from $28.54   
  • Used (9) from $8.59   


Gain a fundamental understanding of Python’s syntax and features with the second edition of Beginning Python, an up–to–date introduction and practical reference. Covering a wide array of Python–related programming topics, including addressing language internals, database integration, network programming, and web services, you’ll be guided by sound development principles. Ten accompanying projects will ensure you can get your hands dirty in no time.

Updated to reflect the latest in Python programming paradigms and several of the most crucial features found in Python 3.0 (otherwise known as Python 3000), advanced topics, such as extending Python and packaging/distributing Python applications, are also covered.

What you’ll learn

  • Become a proficient Python programmer by following along with a friendly, practical guide to the language’s key features
  • Write code faster by learning how to take advantage of advanced features such as magic methods, exceptions, and abstraction
  • Gain insight into modern Python programming paradigms including testing, documentation, packaging, and distribution
  • Learn by following along with ten interesting projects, including a P2P file–sharing application, chat client, video game, remote text editor, and more
  • Complete, downloadable code is provided for each project!

Who this book is for

Programmers, novice and otherwise, seeking a comprehensive introduction to the Python programming language.

Read More Show Less

Product Details

  • ISBN-13: 9781590599822
  • Publisher: Apress
  • Publication date: 9/19/2008
  • Edition description: 2nd ed. 2008. Corr. 2nd printing 2009
  • Edition number: 2
  • Pages: 688
  • Sales rank: 572,243
  • Product dimensions: 6.90 (w) x 9.20 (h) x 1.50 (d)

Meet the Author

A bio is not available for this author.
Read More Show Less

Table of Contents

Ch. 1 Instant hacking : the basics 1
Ch. 2 Lists and tuples 31
Ch. 3 Working with strings 53
Ch. 4 Dictionaries : when indices won't do 67
Ch. 5 Conditionals, loops, and some other statements 81
Ch. 6 Abstraction 109
Ch. 7 More abstraction 139
Ch. 8 Exceptions 159
Ch. 9 Magic methods, properties, and iterators 173
Ch. 10 Batteries included 203
Ch. 11 Files and stuff 255
Ch. 12 Graphical user interfaces 269
Ch. 13 Database support 285
Ch. 14 Network programming 297
Ch. 15 Python and the Web 313
Ch. 16 Testing, 1-2-3 341
Ch. 17 Extending Python 357
Ch. 18 Packaging your programs 373
Ch. 19 Playful programming 381
Ch. 20 Project 1 : instant markup 391
Ch. 21 Project 2 : painting a pretty picture 411
Ch. 22 Project 3 : XML for all occasions 421
Ch. 23 Project 4 : in the news 439
Ch. 24 Project 5 : a virtual tea party 455
Ch. 25 Project 6 : remote editing with CGI 473
Ch. 26 Project 7 : your own bulletin board 483
Ch. 27 Project 8 : file sharing with XML-RPC 499
Ch. 28 Project 9 : file sharing II - now with GUI! 517
Ch. 29 Project 10 : do-it-yourself arcade game 527
Read More Show Less

Customer Reviews

Average Rating 4.5
( 3 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted August 20, 2013

    This is an excellent book. Not only does it shows you elegantly

    This is an excellent book. Not only does it shows you elegantly the features of the language, it also shows you some methodology.
    You may be interested in how to solve the Queen's problem. The explanations are great and you end up using Python's generators along the way...
    My preferred choice for new Python programmers.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted February 20, 2012

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)