I see... never use this feature. I make extensive use of running modules from local (non-PYTHONPATH) directories. When these modules import (local) sub-modules, the best and simplest method I have found is running them from top directory of the corresponding application. I can run any module in the corresponding hierarchy easily. (Plus running other utilities just providing relative imports.)
That is my workflow, so my recommendation on running modules and avoiding import errors. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/FWWI44HUDVXKNHXISSWL3E2WACGPODV2/ Code of Conduct: http://python.org/psf/codeofconduct/