In the last post introducing Python, I demonstrated how to make a simple app using variables and conditional statements. In order to do anything really powerful in a given programming language though, ...
Many Pythonistas are familiar with using decorators, but far fewer understand what’s happening under the hood and can write their own. It takes a little effort to learn their subtleties but, once ...
If you happen to not like the default Windows search options then you can write your own Windows search function in Python by following a few steps. To search in Windows you need to know how to search ...
If you work with strings in your Python scripts and you're writing obscure logic to process them, then you need to look into regex in Python. It lets you describe patterns instead of writing ...
Learn how Mypy's type checking works with functions and generators. In my last two articles I've described some of the ways Mypy, a type checker for Python, can help identify potential problems with ...