Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hebelehubele
3 months ago
|
parent
|
context
|
favorite
| on:
A surprise with how '#!' handles its program argum...
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)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: