News

Strings is a small library of string utility functions compiled for personal needs. There’s nothing too fancy nor anything you can’t find from another library, but Strings consists of smaller ...
string.templatelib is a new module in the standard library for Python 3.14 that holds the types we need: Template for the type hint to the function, and Interpolation to check the elements we ...
If so then vim-python-function-expander is here for you. First, write our your function/class/callable object, put your cursor inside of the () s, and press Tab. vim-python-function-expander will ...
Similarly, the Python "string" type functions as a collection type to an extent, allowing index referencing and manipulation. But, as strings have their own internal quirks, ...
Take advantage of caching and the lru_cache decorator to relieve your Python functions from repetitive heavy lifting ... How to use template strings in Python 3.14. May 14, 2025 6 mins. Show me more.
Python makes a pretty nice interactive calculator. You can do the other way around, too, with the builtin function bin(x). (And there are also hex() and oct() builtins, if you also need to go back ...