Y
Hacker News
new
|
ask
|
show
|
jobs
by
hebelehubele
210 days 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)