3 ms·
You don't have to use __init__.py -- you can just create any python file and it will be a module. And I'm not sure why you think that's unergonomic. If you wa
by jononomo 3y ago
You don't have to use __init__.py -- you can just create any python file and it will be a module.
And I'm not sure why you think that's unergonomic. If you want a bunch of functions to share the same namespace, just put them in the same file. The name of the file becomes your module name.