3 ms·
2000 lines in a single script file is a lot to mentally process. Unlike a large utils.py (the junk drawer of a putting module), with a script there is often a w
by manfre 3y ago
2000 lines in a single script file is a lot to mentally process. Unlike a large utils.py (the junk drawer of a putting module), with a script there is often a wide range of functions and classes.
My best advice would be turn this into a more organized package that you install with pipx[0] on the systems that need it. The click[1] package is helpful too.
[0] https://pypi.org/project/pipx/ https://pypi.org/project/pipx/
[1] https://pypi.org/project/click/ https://pypi.org/project/click/