def save(): global inv save = sdp.pickleSession('data',inv)
def load(): global inv load = sdp.snackTime('data') inv = load.data() #load the inventory
def loadAliases(name): global aliases load = sdp.snackTime(name) aliases = load.data() print('Aliases loaded!')
def saveAliases(name): save = sdp.pickleSession(name, aliases) print('Aliases saved!')
def close(self): global deep self.ofile.close() if deep != []: deepFile = sdp.pickleSession( '.Deep_Log/' + self.logType + '/' + self.title, deep)
def unPickle(deepFilePath): global dataPath #fileName = deepFilePath.split('/')[-1] copyfile(deepFilePath, dataPath + 'temp.zzz') load = sdp.snackTime('temp') return load.data()