Re: Best practices regarding PYTHONPATH

2021-03-10 Thread Thomas Jollans
On 09/03/2021 22:52, Cameron Simpson wrote: On 09Mar2021 05:00, Larry Martell wrote: 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 o

Re: Best practices regarding PYTHONPATH

2021-03-09 Thread Cameron Simpson
On 09Mar2021 05:00, Larry Martell wrote: >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?

Best practices regarding PYTHONPATH

2021-03-09 Thread Larry Martell
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? -- https://mail.python.org/mailman/listinfo/pyt