Python Oddities Explained 🤔
Hello! 👋
This page contains resources I recommended and sources of inspiration for my Python Oddities Explained talk. You'll also find slides, a recording of this talk, and some information about my Python skill-building service, Python Morsels.
If you'd like to keep up with my work, you can find details on me at the bottom of this page.
The slides 💻
You can find the slides for the talk at https://treyhunner.com/python-oddities.
Recording of this talk 🎥
You can watch a recording of this talk from PyCon US 2022.
Related resources 📚
- Variables and objects in Python (me): this article explains how variables work in Python, as well as how data structures don't actually "contain" objects
- Facts and Myths about Python names and values (Ned Batchelder): this talk is a great overview of the two types of "change" in Python mutation and assignment
- Names, Objects, and Plummeting From The Cliff (Brandon Rhodes): this talk is focused on garbage collection in Python, but it's also a great explanation of how Python's variables work under the hood!
- Loop Better: a deeper look at iteration (me): this talk is an overview of how Python's iterables and iterators actually work
Even more oddities ⁉
I've tweeted many of the oddities in this talk over the years, as well as dozens more that were not in this talk. Some of these tweets started interesting discussion threads.
Here are two ways to look at #pythonoddity tweets that I've created and collected over the years:
You can find me presenting some of these slides in this live online presentation I gave for the PyHouston meetup.
Learn something new about Python every week 🕵️♀️
Need to fill in gaps in your Python skills? I send regular emails designed to do just that.
My name is Trey. I help Python developers level-up their skills through corporate training and habit-based learning. I also share my favorite Python insights via email every couple weeks.
Subscribe to learn something new about Python. I will not spam you or share your information.