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 …| treyhunner.com
I’m pretty much fully back to normal life after PyCon US 2025. I started writing this post shortly after PyCon, got side-tracked, and now I& …| treyhunner.com
Those with kidney failure need dialysis.| Trey Hunner
All writers need a cutting room floor. I have never written a book, an academic paper, or a journal article. And yet I do write. I write emails, I …| treyhunner.com
You’ve submitted a tutorial to PyCon and it was accepted. Now what? In this post I’ll be sharing my thoughts on giving a great PyCon …| treyhunner.com
Last year I updated my [having a great first PyCon][pycon post] post to note that Mastodon would likely be more popular than Twitter at PyCon. My …| treyhunner.com
Have you ever wished that Django’s include template tag could accept blocks of content? I have. Unfortunately, Django’s {% include %} tag …| treyhunner.com
Here are my default apps of 2024… in 2025. Inspired by Jeff’s list. You can find my referral links here for Libro, YNAB, or SavvyCal. I& …| treyhunner.com
Occasionally in Python (and in programming in general), you’ll need an object which can be uniquely identified. Sometimes this unique object …| treyhunner.com
I listen to many audiobooks every year. I wrote recaps of my favorites in 2014, 2015, and 2016 and then I stopped doing annual recaps. After a 7 year …| treyhunner.com
I frequently find myself writing my own short command-line scripts in Python that help me with day-to-day tasks. It’s so easy to throw together …| treyhunner.com
I’ve just recently launched a self-paced introduction to Python that is extremely hands-on.| Trey Hunner
Ready for some Python skill-building sales? This is my seventh annual compilation of Python learning deals. Lots of Python sales Here are Python- …| treyhunner.com
I talked about the new Python 3.13 REPL a few months ago and after 3.13 was released.| Trey Hunner
Your new Django project uses Python 3.13. You’re really looking forward to using the new REPL… but python manage.py shell just shows the …| treyhunner.com
Earlier this week I considered whether I should finally switch away from virtualenvwrapper to using local .venv managed by direnv.| Trey Hunner
Ever wished you could take an Intro to Python training with me, but you don’t work for a company with a generous training budget? I’m …| treyhunner.com
I often find myself with a string representing a date and time and the need to create a format string that will parse this string into a datetime object.| Trey Hunner
Have you ever used Python’s json.tool command-line interface? You can run python -m json.tool against a JSON file and Python will print a …| treyhunner.com
I’ve been playing with using Kagi and Perplexity as my browser’s default search engine recently. Currently I have Kagi setup as my …| treyhunner.com
Creating performance tests for Python Morsels exercises is a frequent annoyance I loathe writing automated tests for performance-related exercises …| treyhunner.com
I traveled back home from PyCon US 2024 last week. This is my reflection on my time at PyCon. Attempting to eat vegan Since 2020, I’ve been …| treyhunner.com
Python 3.13 just hit feature freeze with the first beta release today. Just before the feature freeze, a shiny new feature was added: a brand new …| treyhunner.com
I am so excited about the new Python REPL that will likely land in Python 3.13. I’ve been following this CPython pull request since I heard …| treyhunner.com
It’s time for my annual compilation post of Python learning deals. I’ve been compiling Python-related Black Friday & Cyber Monday …| treyhunner.com
Comparing things in Python. That sounds like something that almost doesn’t even need to be taught. But I’ve found that Python’s …| treyhunner.com
I’ve created dozens of Python Morsels since I started it last year. At this point at least 10 of these exercises involve making a custom …| treyhunner.com