Weekly Python Exercise, starting January 2018 by Reuven M. Lerner

Weekly Python Exercise, starting January 2018

Level up your Python skills — and level up your career

Get access for $180


Does this describe you? You use Python, but you're spending lots of time researching, reading, fiddling, and tweaking.  And of course, looking on Stack Overflow for the precise answer to your question, which ... well, sometimes they have what you need, but not always. Moreover, you're not sure how to use some of the more advanced features, such as iterators, generators, and decorators. 

Wouldn't you rather spend your workday solving problems, rather than learning how to solve your problems?  Not only would that make you better at your job, but it'll make you more valuable in future jobs.

If so, you're not alone! Weekly Python Exercise is designed to help you gain that fluency, one week at a time, in the best way I know how: Practice.   

I find that having a weekly exercise challenges me to learn something new instead of just using the same old tricks. — Bill Kohler

Each week for a year, you'll be given a new problem to solve with Python. The problems are deliberately kept fairly small, so that you don't have to spend too much time on it. Each exercise also tries to teach (or reinforce) a technique that Python developers use every day in their jobs, and which will likely help you to become a better, more fluent, Python developer.

Weekly Python Exercise is meant to challenge you. But I've also designed it so that you can learn from other Python developers. After all, one of the best ways to learn is by working with someone else — whether it's pair programming, explaining what you've done, or just reading alternative solutions.  An exclusive forum for your cohort in WPE will allow you to discuss the problem potential solutions, and what you finally came up with.  

The tough part of learning any language is the practice. Reuven's exercises give me that practice. — Larry Marek

In addition to  my e-mailed solutions and our WPE forum, I'll offer regular, live office hours. There,  I'll answer questions about the exercises and help you to solve them and think about other Python ideas.  (If you can't make my office hours, that's fine — you'll have access to the recordings, and will be able to submit questions in advance, too.)

The next cohort of Weekly Python Exercise will start on Tuesday, January 2nd.  On that day, you'll receive the first exercise.   The solution will come a week later, on Monday, January 8th.  That gives you a week to try to solve the exercise — either by yourself, or jointly with others.

If you want to improve your Python skills, then I can't think of a better way than Weekly Python Exercise. And don't dawdle too long, because once this cohort launches, you won't be able to sign up.  You'll have to wait until the next time I offer this class.

If you've ever taken a course with me, or read any of my books, you should know that these are all brand new exercises — with the same style as the others, perhaps, but with new ideas and directions.

The way you teach is just wonderful.  The content is very well chosen and explanation is clear and not to mention just right amount of humor goes along with it makes the class less monotonic.  Thanks for being a awesome instructor.   — Jian Huang

Whether you use Python at work or for fun, Weekly Python Exercise is the best way I know to help you improve your understanding of Python, and to develop the fluency that we all aspire to achieve. And you'll be learning not just from me, but from all of your peers.

I  really like the exercise, but the really great part is looking at how others solved it on the forum.  — Larry Marek

Registration for Weekly Python Exercise closes on December 20th, 2017.  Don't get left behind, kicking yourself as you search through Stack Overflow for answers.  Join Weekly Python Exercise, and start to write better Python. 

What's included?

Text Icon 1 text file


Welcome to Weekly Python Exercise!


How much Python do I need to know?

WPE is aimed at people with an intermediate knowledge of Python: You're not a beginner, and you have a good understanding of the built-in data types, writing functions, and of working with objects.  But working with more advanced data structures, list comprehensions, and such topics as iterators, generators, and decorators are a bit beyond what you've comfortably dealt with so far.

I've had people participate in WPE at even a beginner level, and they have gotten quite a bit out of the course — but they also admit that they often wait to discuss solutions in the forum, research topics on their own, or spend far more time on the exercises than I would expect.

What if it turns out WPE isn't for me?

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

What version of Python do you use?

I use Python 3 (as of this writing, 3.6). 

Do I have to participate in the forums or live office hours?

No, of course not!  But I'm hoping that lots of people will do so.  In my career as a Python trainer, it's clear to me that people who solve exercises together both learn and retain more than those who don't. I strongly encourage participants in my in-person classes to work in pairs, and while doing so online might be hard, I hope that the forum can provide something akin to those interactions.

If you can't make it to office hours, then submit your questions in writing, and I'll answer them — then, when you have a chance, you can view the recording.

When will the next cohort of WPE be opening?

I don't know.  This cohort will go for one year, through 2018. I will likely start another one at another point during 2018, but I still don't know just when.  I'm toying with the idea of doing WPE for people new to Python, in which case this (the intermediate-level one) likely won't open for another year or so.

Am I really committing to a year-long course, week after week?

Yes and no: The exercises, forum, and live office hours will be tied to one another, and will reflect the current (weekly) exercise.

But no one is forcing you to do the exercises with everyone else!  You can skip exercises, and do them later than everyone else.  The forum, and video recordings from office hours, will be available for you to use, watch, and review forever, as far as I'm concerned.  So there's no pressure on that front.

That said, I do believe that there's a value in dedicating a bit of time each week to improving your craft and learning new things.  WPE is designed to take up only an hour or so each week, which I hope you'll agree is a worthwhile investment in your career.

When will the office hours be held?

Office hours will be held 1-2 times each month.  I'll try to vary the days and times, so that no matter where you live in the world, you'll be able to participate at least occasionally.

Can I see a sample?

You bet!  Just go here:


Sign up for this mini version, and you'll get two exercises (and their solutions), in the same style as the real WPE.  This sample squeezes it all into five days.

Are discounts available?

Yes — if you join with a group of 5 or more, each person gets 20% off.

And if you're a full-time student, you can get 30% off.

In either case, just e-mail me, and I'll send you an appropriate coupon code.

What topics will WPE cover?

Among the topics we'll cover are:

  • nested functions
  • iterators
  • generators
  • decorators
  • object inheritance
  • properties
  • threads and processes
  • common modules and packages, such as requests, pickle, and argparse

When does registration end?

December 20th. I'm not sure when I'll next be running WPE, and you won't be able to sign up after that date.
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.