Here is some sample code:
import sys def main(argv=sys.argv): logging.basicConfig() log.info('hi')
and:
use 'zlib' sub main(argv) puts 'hi' end