def UpPwn(argv): opts = Opts(argv) opts.initialize_options() parsed_opts = opts.parse() core = Core(parsed_opts) core.run() core.stop()