#NEWLINE# def execute_from_commandline( self , argv = None ) : #NEWLINE# #INDENT# 'Execute application from command line.\n\n        :keyword argv: The list of command line arguments.\n                       Defaults to ``sys.argv``.\n\n        ' #NEWLINE# if ( argv is None ) : #NEWLINE# #INDENT# argv = list ( sys . argv ) #NEWLINE# #UNINDENT# self . prog_name = os . path . basename ( argv [ 0 ] ) #NEWLINE# return self . handle_argv ( self . prog_name , self [ 1 : ] )