Combines Three Guides into one BookThis 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 mastersThese 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
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