#NEWLINE# def _get_alternate_executable( self , executable , options ) : #NEWLINE# #INDENT# if ( options . get ( 'gui' , False ) and ( os . name == 'nt' ) ) : #NEWLINE# #INDENT# ( dn , fn ) = os . path . split ( executable ) #NEWLINE# fn = fn . replace ( 'python' , 'pythonw' ) #NEWLINE# executable = os . path . join ( dn , fn ) #NEWLINE# #UNINDENT# return executable