Pycon Israel 2021

Reuven Lerner

Reuven Lerner is a full-time Python trainer. In a given year, he teaches courses at companies in the United States, Europe, Israel, India, and China — as well as to people around the world, via his online courses, including Weekly Python Exercise.

Reuven’s most recent book is “Python Workout,” a collection of Python exercises with extensive explanations, published by Manning. He is currently working on "Pandas Workout," a similar collection of exercises for Pandas.

Reuven’s free, weekly Better developers newsletter, about Python and software engineering, is read by more than 20,000 developers around the globe. His “Trainer weekly” newsletter is similarly popular among people who give corporate training.

Reuven has a bachelor’s degree in computer science and engineering from MIT, and a PhD in learning sciences from Northwestern University. He lives in Modi’in, Israel with his wife and three children.

The speaker's profile picture


When is an exception not an exception? Using warnings in Python

Python's warnings are exceptions — but they're also distinct from exceptions, and are both used and trapped differently. In this talk, I'll introduce warnings, how to raise, trap, and redirect them, and show you best practices for their use.

Avoiding memory leaks with "weakref"

In Python, we normally don't worry about memory usage. But that doesn't mean memory leaks are impossible! In this talk, I'll introduce "weak references" -- how they work, when you would use them, and tricks to get the most out of them.