pydongery / blog

MIT License
0 stars 0 forks source link

Injecting command line interfaces #9

Open Tsche opened 3 weeks ago

Tsche commented 3 weeks ago

The __main__ package can be used to force different behavior when importing a module. This can be abused to make extensions of some application directly runnable.