Practice Makes Python — just the book by Reuven M. Lerner
Enrollment is closed

Practice Makes Python — just the book

Write better Python, faster
Enrollment is closed


Learn how to write Pythonic code, via 50 battle-tested exercises.

You’ve learned the basics of Python, and you’re able to use it in your day-to-day work. But if you’re still going to Stack Overflow and Google several times each day, you aren’t yet fluent.

“Practice Makes Python” is an ebook designed to help you gain that fluency. By solving its 50 exercises, you’ll become more familiar with the Python language, with its data types, and with the “Pythonic” way of thinking.

This book is not an introduction to Python.  Think of it as the bridge between a class (or book) and actual day-to-day use of Python in your job.

What you’ll learn

After you read — and work through — Practice Makes Python, you’ll have a much better working knowledge and understanding of:
  • How to work with the basic sequence types — strings, lists, and tuples
  • How to work with dictionaries in a variety of ways
  • How (and why) to use sets
  • How to read from (and write to) JSON and CSV files
  • How to use list, set, and dict comprehensions in your programs
  • How to create your own classes
  • How to create and use iterators and generator functions

The learning in this book doesn’t come from reading. The learning comes from doing. After working through each exercise, you can read the printed solution and explanation — or you can watch a video, in which I solve the exercise piece by piece, as I do with my in-person courses.

Who it’s for

This book is for:
  • Developers who have taken a Python course (or read a book), and want to practice what they have learned
  • Developers experience with another language who understand Python’s syntax, but want their code to be more “Pythonic”
  • Python developers who want to be more valuable to their current employer (and be more attractive to future employers)

In short: If you want to be able to do your work with fewer visits to Google and Stack Overflow each day, then this book

Get a free sample

Not sure if the book is for you? Just sign up here to get five sample exercises from “Practice Makes Python.” I’m sure that you’ll love the exercises so much that you’ll want to get the other 45 in the book.

Money-back guarantee

I’m sure that you’ll love Practice Makes Python, and that it’ll make you a better developer. If not, then just let me know, and I’ll refund your money.

Student discounts

Are you a student? I was, for a very long time, and I know what it’s like to live on a limited budget. I’m happy to provide you with a coupon code that’ll give you a hefty discount on the book. Just e-mail me at, and I’ll send it to you.

Other questions?

I’m delighted to answer any questions you might have. Just e-mail me at!

What's included?

File Icon 3 files


471 KB
627 KB
1.65 MB

Become a better developer.

I'm Reuven — and for 20 years, I've spent just about every day teaching Python, data science, and Git at some of the world's best-known companies. 

I've recorded my most popular courses here, for you to learn these skills — even if you don't work for a big company.

After taking my courses, you'll be able to to solve bigger problems in less time — allowing you to do your current job better, or to find a new, better job.


Will this course teach me Python?

No. Practice Makes Python assumes that you have already taken a Python course, read a book, or  have otherwise learned Python's basics.  My book helps you with reinforcement and practice.  However, the exercise solutions often do include a description of the underlying Python functionality, such that you'll be able to gain more insights and understanding of how and why Python works.

What if I dislike the course?

If you don't think you're getting value from Practice Makes Python, then ask for a refund, and I'll give you one.