Hi! 😁 My name is Trey
My name is Trey Hunner and I help Python developers level-up their skills through Python Morsels, my weekly Python exercise service.
I also hold Python trainings for teams through my one-person corporate training company, Truthful Technology LLC. These trainings are always hands-on (like my tutorials, not my talks).
You can scroll down to see a list of the some popular Python articles I’ve written below, but please remember that watching talks and reading articles is not the most effective way to learn. Learning comes through practice.
Practice Python every week with Python Morsels
We don’t learn by putting information into our heads. We learn by trying to retrieve information from our heads. So practice is pretty much the only way to learn.
I made Python Morsels to help working Python developers grow their skills every week through deliberate practice.
As a Python Morsels subscriber, every Monday I’ll send you a new exercise based on your skill level. These exercises are meant to push you slightly outside of your comfort zone, gradually expanding your abilities each week.
I recommend allotting a total of 1-2 hours each week for Python practice via Python Morsels.
Popular Python Posts
- How to loop with indexes in Python
- Keyword (Named) Arguments in Python: How to Use Them
- Asterisks in Python: what they are and how to use them
- Python List Comprehensions: Explained Visually
- Multiple assignment and tuple unpacking improve Python code readability
- Why you should be using pathlib
- Overusing list comprehensions and generator expressions in Python
- Overusing lambda expressions in Python
- The problem with inheriting from dict and list in Python
- How to make an iterator in Python
- Passing functions as arguments
- Lazy self-installing Python scripts with uv
- Switching from virtualenvwrapper to direnv, Starship, and uv
- Handy Python REPL modifications
- How to have a great first PyCon
- Cabo card game
More Python articles on Python Morsels
I publish most of my Python writing on Python Morsels now. Here are some popular articles:
- Built-in Functions in Python
- Every dunder method in Python
- Python Big O: the time complexities of different data structures
- Python f-string tips & cheat sheets
- Variables and objects in Python
- Python’s any() and all() functions
- Callables: Python’s “functions” are sometimes classes
- Python’s many command-line utilities
- Python Terminology: an unofficial glossary
Stay in touch
You can find my current contact information on the about page.
The best way to stay in touch with me is to get on my Python newsletter. And the easiest way to join my newsletter is to sign up for Python Morsels using the form below.
I won't share you info with others (see the Python Morsels Privacy Policy for details).
This form is protected by Cloudflare Turnstile (Privacy Policy)