[Tutor] file accessibility across directories?
Mats Wichmann
mats at wichmann.us
Thu Feb 29 12:14:33 EST 2024
On 2/29/24 09:54, Mats Wichmann wrote:
correction:
> because now the name of the running module is "utils.baz", so it looks
> like a package rooted at a level above "utils", and that directory will
> be in sys.path, so "from src/foo import Foo" should work.
sigh, type rather than paste and you'll get it wrong... should have been
from src.foo import Foo
More information about the Tutor
mailing list