The Python Papers
Subscribe
Sign in
Home
Notes
Chat
Archive
Leaderboard
About
Python Basic Type Hinting
When Python first added type hinting to the language in version 3.5, you could only add type hints to functions.
Feb 10
•
Mike Driscoll
3
1
1
Python Pop Quiz - Number Explosion
You will sometimes come across examples of code that use one or two asterisks.
Feb 6
•
Mike Driscoll
4
1
Python Typing Book Kickstarter
Python has had type hinting support since Python 3.5, over TEN years ago!
Feb 3
•
Mike Driscoll
4
1
Vibe Coding Pong with Python and pygame
Pong is one of the first computer games ever created, way back in 1972.
Jan 28
•
Mike Driscoll
4
1
Python 101 - Introspection
One of the reasons Python is special is that it provides lots of tools that allow you to learn about Python itself.
Jan 22
•
Mike Driscoll
8
3
1
Most Popular
View all
Python 201 – The Handy defaultdict
Dec 24, 2024
•
Mike Driscoll
12
2
How to Debug Your Textual Application
Nov 12, 2024
•
Mike Driscoll
9
How to Publish a Python Package to PyPI
Jun 18, 2024
•
Mike Driscoll
12
3
Python 101 - Exception Handling
Oct 22, 2024
•
Mike Driscoll
11
SSH Scripting with Fabric and Python
Oct 14, 2024
•
Mike Driscoll
11
2
How to Override a List Attribute’s Append() Method in Python
Jan 8, 2025
•
Mike Driscoll
12
2
Latest
Top
Discussions
New Book: Vibe Coding Video Games with Python
My latest book, Vibe Coding Video Games with Python, is now available as an eBook.
Jan 15
•
Mike Driscoll
6
Textual - How to Log to Both the Console and a File
Textual is a wonderful Python package that allows you to create a text-based user interface (TUI) in your terminal.
Jan 13
•
Mike Driscoll
5
How to Type Hint a Decorator in Python
Decorators are a concept that can trip up new Python users.
Jan 6
•
Mike Driscoll
6
4
How to Switch to ty from Mypy
Python has supported type hinting for quite a few versions now, starting way back in 3.5.
Dec 30, 2025
•
Mike Driscoll
4
1
Product Review: Python Flash Cards
No Starch Press is best known for creating books on computer programming.
Dec 23, 2025
•
Mike Driscoll
2
Python 101 - Python Virtual Environments
Python has the concept of the virtual environments built-in to the language.
Dec 17, 2025
•
Mike Driscoll
5
Vibe Coding the Snake Game with Python and pygame
There are many great computer games.
Dec 9, 2025
•
Mike Driscoll
1
2
See all
The Python Papers
Learning and Developing in Python
Subscribe
Recommendations
View all 18
The Developing Dev
Ryan Peterman
The Python Coding Stack
Stephen Gruppetta
Data Engineering Central
Daniel Beach
AI Disruption
Meng Li
The Pragmatic Engineer
Gergely Orosz
The Python Papers
Subscribe
About
Archive
Recommendations
Sitemap
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts