by not_skynet · 5y ago · 0 comments
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.
No comments yet.