2 ms·
I also use the trick to insert new lookup paths. project_root = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, project_root)
by hebelehubele 11mo ago
I also use the trick to insert new lookup paths.
project_root = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, project_root)