>>> import this
__init__
, it is probably
not a class__init__
, you probably don't need a new classImagine what the user will type when uses your code. Than implement that.
I'm -1 on this and on any other proposed twiddlings of the main machinery. The only use case seems to be running scripts that happen to be living inside a module's directory, which I've always seen as an antipattern. To make me change my mind you'd have to convince me that it isn't. - Source