def save(self):
        """save the current session
        override, if session was saved earlier"""
        if self.path:
            self._saveState(self.path)
        else:
            self.saveAs()
def save ( self ) : if self . path : self . _saveState ( self . path ) else : self . saveAs ( )
save the current session
        override, if session was saved earlier