Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
JulianWasTaken
13y ago
0 comments
Save
Share
Oh, yeah, well, importing stuff on interpreter startup is pretty much exactly what $PYTHONSTARTUP is for :).
0 comments
1 comments · 1 top-level
top
newest
oldest
philipbjorge
13y ago
And this is why I post code online - to find out the right way to do things. PYTHONSTARTUP is exactly 100% what I was looking for, but didn't know existed.
j
/
k
navigate · click thread line to collapse