#NEWLINE# def main( namespace ) : #NEWLINE# #INDENT# command = ' ' . join ( sys . argv [ 1 : ] ) #NEWLINE# if ( not command ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# reinit ( namespace ) #NEWLINE# #UNINDENT# except KeyboardInterrupt : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# signal . signal ( signal . SIGINT , ( lambda signum , frame : None ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# reinit ( namespace , info = False ) #NEWLINE# console = code . InteractiveConsole ( locals ( ) ) #NEWLINE# console . runsource ( command )