Skip to content

Import Your Main?

Chris Siebenmann says that, in Python, your main program should be importable. He makes an interesting case for it; and is kind enough to provide example code layout.

I’ll give this a try and get back to you on whether it revolutionized my coding lifestyle.

  • Edward