#NEWLINE# def remove( self , path , recursive = True ) : #NEWLINE# #INDENT# if ( recursive and self . isdir ( path ) ) : #NEWLINE# #INDENT# shutil . rmtree ( path ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# os . remove ( path )