Bio
Trey Hunner helps Python developers level-up their skills through his weekly Python skill-building service, Python Morsels. He also helps teams turn experienced developers into experienced Python developers through on-site Python training workshops and courses.
My Talks
Comprehensible Comprehensions
Finding list comprehensions incomprehensible? Having trouble figuring out when to use list comprehensions or just plain `for` loops? Come to this talk and learn the how, when, and why of list comp...
Easier Classes: Python Classes Without All The Cruft
Creating well-behaved Python classes shouldn't require boilerplate. In this talk we'll see how to easily make classes with proper string representations, comparability, iterability, and immutability.
Lazy Looping: The Next Iteration
In this talk we'll learn about the properties of iterators, learn how to create our own iterators with generators, and take a look at how iterators and generators allow us to write our looping code...
Loop better: a deeper look at iteration in Python
What's the difference between an iterable, an iterator, and a generator? Do you know how to create infinitely long iterables?
Come to this talk to learn some of Python's slightly more advanced lo...
Loop Better: Generators, Comprehensions, and More
You know Django and you know Python, but do you know how to choose between using a `for` loop, a comprehension, and a generator function?
Let's get hands-on experience using Python's various loopi...
Meaningful Mentoring Moments
You're mentoring at a programming workshop and your learner is having trouble with their code: what do you do?
Let's learn how to be a good in-person code mentor!
Python 2 to 3: How to Upgrade and What Features to Start Using
The end of life for Python 2 is 2020. Python 3 is the future and you'll need to prepare an upgrade plan soon. During this talk we'll discuss how to start the process of upgrading your code to Pytho...
Python Oddities Explained
Sometimes you'll find what might seem like a bug in Python but sometimes these bugs reveal themselves to be misunderstood features. During this talk we'll look at a number of Python's unique featur...
Readability Counts
During this talk we'll learn a number of techniques for refactoring code to improve readability and maintainability. We'll end with a checklist for improving the readability of your own code.
Readable Regular Expressions
What are regular expressions, what are they useful for, and why are they so hard to read?
We'll learn what regular expressions are good for, how to make our own regular expressions, and how to mak...
Using List Comprehensions and Generator Expressions For Data Processing
In this tutorial we'll get hands-on experience using list comprehensions, set comprehensions, and dictionary comprehensions. And we'll learn when we to slightly tweak our comprehensions to turn the...