Apress

Beginning Python

From Novice to Professional

2nd Edition

By Magnus Lie Hetland

Beginning Python Cover Image

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.

Full Description

  • ISBN13: 978-1-59059-982-2
  • 688 Pages
  • User Level: Beginner to Advanced
  • Publication Date: September 18, 2008
  • Available eBook Formats: PDF
  • Print Book Price: $44.99
  • eBook Price: $31.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

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.

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 33:
>>> greeting[-1]
'o'

is a typo should read:

>>> greeting[-1]
'n'

On page 115:

In the Note section hasattr(func, __call__) should be hasattr(func, "__call__")

On page 268:
"if __exit__ returns false, any exceptions are suppressed"

Should be true according to PEP-343

"IMPORTANT: if mgr.__exit__() returns a "true" value, the exception is "swallowed". "

On page 302:
In Listing 13-1 field_count is not defined.

On page 407:

print '<html><head><title>...</title><body>'

There is no closing tag for <head>

On page 511:
</a>' => </a>