Subscribe and be notified whenever new books are published. View Sample Newsletter Or RSS Feed

Treading on Python Volume 2: Intermediate Python

Pages: 162
Publisher: CreateSpace Independent Publishing Platform
Publication Date: June 26, 2013

Do you want to take your Python to the next level?
Python is easy to learn. You can learn the basics in a day and be productive with it. But there are more advanced constructs that you will eventually run across if you spend enough time with it. Don't be confused by these. Learn them, embrace them, and improve your code and others.
Combines Three Guides into one Book
This book is composed of three popular guides:
  • Guide to: Functional Python & Comprehension Constructs
  • Guide to: Learning Iteration & Generators in Python
  • Guide to: Learning Python Decorators

Write Python code like the masters
These constructs, while not necessary per se, allow you to be more succinct, re-use code, and think about code in a different way. You will learn:
  • How the constructs work
  • When to use them
  • Real life examples from the standard library
Understand other's code
This book covers many of these intermediate constructs that are available in Python. The book covers both Python 2 and 3. Topics include:
  • Functional programming 
  • List comprehensions
  • Generator expressions
  • Set & dict comprehensions 
  • Iteration 
  • Generators 
  • Closures 
  • Decorators
Based on popular tutorials and sessions 
I have taught material similar to these constructs at popular tutorials at conferences such as PyCon, OSCON and Strata (and other conferences). This book is based on my experience teaching and using Python for many years. I hope you learn something while in the course of your reading. Maybe it will help you in your next task, code review, or job interview.