In C++ codebases you tend to extract out certain commonly used small functions to a utils.h header file for reusability and to avoid defining them as methods when they are not class methods per se.
What would be the equivalent practice in Python? Just create a utils.py and import that?