Help on module rbos: NAME rbos FILE ~\rbos.py DESCRIPTION rbos.py (C)2008 Don A. Hanlen I make no claims, and take no reponsibility, for use or abuse of this code! I require those who DO use it to cite its source! If this code is used for commercial purposes I expect a (negotiable) cut! These functions use the Python os module in a way that will work on both Posix and Windoze, hopefully elsewhere. FUNCTIONS backupOpen(name, extension) move name.extension to name.'bck', return new name.extension for write will return new file even nothing to back up! convertPickleDict(dName, fName) a util to convert pickled dictionaries to lists[] (it appears pickle screws with attributes on Windoze) copy(oldName, newName) return newName | 'no such file' directory() return list of files in current working directory dumpList(dList, fName) like a pickle.dump() but opens file on its own getsavedList(dList, hashH) backup current saved games list[], return last list[] could be same dictionary! loadList(fName) like a pickle.load, but opens file on its own, returns dList[] remove(fName) return 'removed' | 'no such file' rename(oldName, newName) return newName | 'no such file'