Learn the code to write algorithms. If you need help writing programs in Python, this book is just the ticket. Packed with practical recipes written and tested with Python 3.3, this unique cookbook is for any level Python programmers who want to focus on modern tools and idioms.
Inside, you’ll find complete recipes for more than a dozen topics, covering the core Python language as well as tasks common to a wide variety of application domains. Each recipe contains code samples you can use in your projects right away, along with a discussion about how and why the solution works.
Topics include:
Strings and Text
Numbers, Dates, and Times
Iterators and Generators
Files and I/O
Data Encoding and Processing
Functions
Classes and Objects
Metaprogramming
Modules and Packages
Network and Web Programming
Concurrency
Testing, Debugging, and Exceptions
C Extensions