(self)
If file name is provided, try saving, else call save_file_as
If file name is provided, try saving, else call save_file_as
If file name is provided try saving else call save_file_as
def save_file(self):
        """
        If file name is provided, try saving, else call save_file_as
        """
        if not self.filename:
            self.save_file_as()
        else:
            self._try_save()
def save_file ( self ) : if not self . filename : self . save_file_as ( ) else : self . _try_save ( )