Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How the Python import system works. Parent comment
https://pastebin.com/5WCXb2Gg
Assuming `foo.bar` is a script inside the package `foo` that you want to both import and run directly (without `python -m ...`), this lets you do so without too much hassle.
There are no comments on this comment yet.
https://pastebin.com/5WCXb2Gg
Assuming `foo.bar` is a script inside the package `foo` that you want to both import and run directly (without `python -m ...`), this lets you do so without too much hassle.