#NEWLINE# def rm_file( filename ) : #NEWLINE# #INDENT# if ( not fullpath ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# fullpath = get_filepath ( filename ) #NEWLINE# if os . path . isfile ( filename ) : #NEWLINE# #INDENT# os . remove ( filename ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if os . path . isfile ( fullpath ) : #NEWLINE# #INDENT# os . remove ( fullpath )