scribus_textext.py
def try_remove(self, filename):
        """Try to remove given file, skipping if not exists."""
        if os.path.isfile(filename):
            os.remove(filename)
        elif os.path.isdir(filename):
            os.rmdir(filename)
Try to remove given file, skipping if not exists.
Try to remove given file, skipping if not exists.
Try to remove given file skipping if not exists .
def try_remove(self, filename):
        if os.path.isfile(filename):
            os.remove(filename)
        elif os.path.isdir(filename):
            os.rmdir(filename)
def try_remove ( self , filename ) : if os . path . isfile ( filename ) : os . remove ( filename ) elif os . path . isdir ( filename ) : os . rmdir ( filename )
Try to remove given file, skipping if not exists.
Try to remove given file skipping if not exists .
"""Try to remove given file, skipping if not exists."""
self
filename