Best practices regarding PYTHONPATH

Larry Martell larry.martell at gmail.com
Tue Mar 9 08:00:16 EST 2021


Which is considered better? Having a long import path or setting PYTHONPATH?

For example, in a project where 50% of the imports come from the same top
level directory is it better to add that dir to the path or reference it in
the import statements?


More information about the Python-list mailing list