I have a module that has the usual
if __name__ == \'__main__\': do stuff...
idiom.
I\'d like to import that from another module
Put it in a function:
def _main(): do stuff if __name__ == '__main__': main()