Skip to content
Advertisement

Tag: siblings

Sibling package imports

I’ve tried reading through questions about sibling imports and even the package documentation, but I’ve yet to find an answer. With the following structure: How can the scripts in the examples and tests directories import from the api module and be run from the commandline? Also, I’d like to avoid the ugly sys.path.insert hack for every file. Surely this can

Advertisement