PEATDB/Labbook.py
def do_save_project(self, filename):
        """Get model dicts and write all to pickle file"""
        data={}
        for s in self.sheets.keys():
            currtable = self.sheets[s]
            model = currtable.getModel()
            data[s] = model.getData()
  
        fd=open(filename,'w')
        import pickle
        pickle.dump(data,fd)
        fd.close()
        return
Get model dicts and write all to pickle file
Get model dicts and write all to pickle file
Get model dicts and write all to pickle file
def do_save_project(self, filename):
        data={}
        for s in self.sheets.keys():
            currtable = self.sheets[s]
            model = currtable.getModel()
            data[s] = model.getData()
        fd=open(filename,'w')
        import pickle
        pickle.dump(data,fd)
        fd.close()
        return
def do_save_project ( self , filename ) : data = { } for s in self . sheets . keys ( ) : currtable = self . sheets [ s ] model = currtable . getModel ( ) data [ s ] = model . getData ( ) fd = open ( filename , 'w' ) import pickle pickle . dump ( data , fd ) fd . close ( ) return
Get model dicts and write all to pickle file
Get model dicts and write all to pickle file
"""Get model dicts and write all to pickle file"""
self
filename