
Python Workout, Second Edition
Author(s): Reuven Lerner (Author)
- Publisher finelybook 出版社: Manning Publications
- Publication Date 出版日期: January 6, 2026
- Edition 版本: 2nd
- Language 语言: English
- Print length 页数: 240 pages
- ISBN-10: 1633435350
- ISBN-13: 9781633435353
Book Description
The only way to master a skill is practice, practice, practice. That’s exactly what you’ll do in this book! In this instantly-valuable book you’ll work through 200 carefully selected exercises that flex your programming muscles.
You’ll practice core Python language features and techniques that reinforce the programming patterns you’ll use every day and build the skills you need to troubleshoot your programs.
In
Python Workout, Second Edition you’ll find 200 exercises, including: • Working with text using strings
• Mastering dictionaries and sets
• Reading, writing, and manipulating files
• Functional programming with comprehensions
• Python modules and packages
• Creating iterators and generators
About the technology
Become a champion Python programmer by making its most powerful features second nature! In this unique book, internationally-recognized Python trainer
Reuven Lerner builds your mental muscle by guiding you through 200 targeted exercises.About the book
Python Workout, Second Edition is a hands-on training program designed to boost your productivity and code quality. You’ll practice everything from basics like strings and dictionaries to techniques for writing elegant, data-agnostic code with dynamic typing, generic functions, and comprehensions. Each exercise includes a detailed solution along with additional challenges that help you push your skills even farther.
What's inside
• Lock in essential Python skills
• Improve your code readability and maintainability
• Prepare for AI-assisted workflows
For beginning to intermediate Python programmers.
About the author
Reuven M. Lerner teaches Python at companies around the world and at LernerPython.com. He also wrote Pandas Workout.
Table of Contents
1 Improving your Python with practice
2 Numeric types
3 Strings
4 Lists and tuples
5 Dictionaries and sets
6 Files
7 Functions
8 Functional programming with comprehensions
9 Modules and packages
10 Objects
11 Iterators and generators
12 Where to from here?
finelybook
