<s> """<STR_LIT>""" <EOL> import sys <EOL> import traceback <EOL> from importlib import import_module <EOL> USAGE = """<STR_LIT>""" <EOL> def main ( ) : <EOL> if len ( sys . argv ) < <NUM_LIT:2> : <EOL> sys . stderr . write ( USAGE ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> elif sys . argv [ <NUM_LIT:1> ] in ( "<STR_LIT>" , "<STR_LIT>" ) : <EOL> sys . stderr . write ( __doc__ + "<STR_LIT:\n>" ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> elif sys . argv [ <NUM_LIT:1> ] [ : <NUM_LIT:1> ] == "<STR_LIT:->" : <EOL> sys . stderr . write ( USAGE ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> module_name = sys . argv [ <NUM_LIT:1> ] <EOL> try : <EOL> module = import_module ( "<STR_LIT>" + module_name , <EOL> package = "<STR_LIT>" ) <EOL> except ImportError : <EOL> sys . stderr . write ( traceback . format_exc ( ) ) <EOL> sys . stderr . write ( "<STR_LIT>" . format ( module_name ) ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> module . main ( sys . argv [ <NUM_LIT:2> : ] ) </s>
