Practice Makes Python — complete package by Reuven M. Lerner

Practice Makes Python — complete package

Write better Python, faster

Get access for $250

Overview

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

Plus, in this package, I add:
  • 50 videos (more than 4 hours of video!) in which I solve the exercises
  • Solutions (in separate files) for Python 2 and 3

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 reuven@lerner.co.il, and I’ll send it to you.

Other questions?

I’m delighted to answer any questions you might have. Just e-mail me at reuven@lerner.co.il!

What's included?

Video Icon 47 videos File Icon 3 files

Contents

Book
practice-makes-python.mobi
1.65 MB
practice-makes-python.epub
471 KB
practice-makes-python.pdf
627 KB
Chapter 2 — Numbers
2.1: Number guessing game
10 mins
2.2: Summing numbers
7 mins
2.3: Race timing
7 mins
2.4: Hexadecimal output
12 mins
Chapter 3 — Strings
3.2: Pig Latin Sentence
5 mins
3.1: Pig Latin
6 mins
3.3: Ubbi Dubbi
4 mins
3.4: Sorting a string
3 mins
Chapter 4 — Lists and tuples
4.2 All as.mp4
4 mins
4.3 sum anything.mp4
6 mins
4.4 alphabetize names.mp4
9 mins
4.5 most repeating word.mp4
9 mins
4.1: First-last
7 mins
4-6 print tuple records.mp4
10 mins
Chapter 5 — Dicts and sets
5.1, Different numbers.mp4
6 mins
5.2, Flip a dict.mp4
6 mins
5.3, Rainfall.mp4
9 mins
5.4, Dictdiff.mp4
6 mins
Chapter 6 — Files
6-1_last-line.mp4
7 mins
6.3, word count.mp4
9 mins
6.4, longest words.mp4
9 mins
6.2, passwd-to-dict.mp4
9 mins
6-6 json.mp4
10 mins
Chapter 7 — Functions
7.1, XML generator.mp4
12 mins
7.2, prefix calculator.mp4
9 mins
7-3-passwd.mp4
7 mins
Chapter 8 — Modules
8-8-sales tax.mp4
7 mins
8-9-menu.mp4
8 mins
Chapter 9 — Functional programming
9.2: Add numbers
4 mins
9.1: Join numbers
5 mins
9.3: Flatten a list
7 mins
9.5: transform_values
5 mins
9.4: Pig Latin on a file
8 mins
9.6: (Almost) supervocalic words
5 mins
9.7: Gematria, part 1
5 mins
9.8: Gematria, part 2
9 mins
Chapter 10 — Objects
10.1: Scoops
4 mins
10.2: Cones
6 mins
10.4: Big cone
4 mins
10.5: Animals
8 mins
10.6: Cages
7 mins
10.7: Zoo
9 mins
Chapter 11 — Iterators
11.1: MyEnumerate
9 mins
11.2: Circle
4 mins
11.3: All lines, all files
6 mins
11.4: Elapsed since
5 mins
11.5: MyChain
4 mins

FAQs

What do the videos give me that's not in the book?

First of all, many people prefer to see things demonstrated, rather than just on paper. Think of the difference between reading a book and watching a lecture; both give you information, but the video can be livelier.

Second, I strongly believe that the answer isn't the most important part of what I provide with these exercises.  Rather, the process of getting to an answer is the important thing.  As such, you can more easily see the process in a video than on paper.

Finally, in many cases I took advantage of the opportunity in the video to explore alternative answers and/or interesting things that we can do in and with Python.  So you will often get a fuller, more interesting answer.

What version of Python do you use?

Answers are supplied in both Python 2.7 and 3.

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.
Mid reuven headshot

Because better developers have better careers

Have a more satisfying, successful, and lucrative career, by becoming more fluent in Python, Git, and related technologies.