def save(self, instance): # pickle ? ssfw = FileWriter(self.process.pid) ssfw.writeToFile(instance) return
def __init__(self,folder='outputs'): FileWriter.__init__(self,'id_dsa','key',folder)
def __init__(self,pid,folder='outputs'): FileWriter.__init__(self,'session_state',pid,folder)
def save(self, instance): # pickle ? ssfw=FileWriter(self.process.pid) ssfw.writeToFile(instance) return