Help on module SavedGames: NAME SavedGames FILE ~\savedgames.py DESCRIPTION SavedGames.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! This file is an adjunct for rePYbot written for Python 1.5.2 (OWT's v.) It handles saved games information from http://www.fibs.com/savedgames/list.html CLASSES SavedGames class SavedGames | handle information from the list of FIBS.com saved games | savedDict = {} ## player saved games dictionary | ## entry = ['name': ['nAME', 'saved1', 'saved2' ....]] | ## key is lower case, | ## data is preserved case | ## (including first entry which preserves key) | | Methods defined here: | | __init__(self) | reading from FIBS.com may take a while | | dLen(self, dKey) | return number of saved games for dKey | none | | dList(self, dKey) | return list of saved games for dKey | including dKey's case-correct first name | | [dKey, "was not found in the saved games list."] | | deHTMLize(self, word) | returns deHTMLized word (The name says it all...) | | getsavedDict(self) | Load saved games from fibs.com, return 'updated' | This is not reloaded automatically. | (Patti says update is like, 2:45 AM, Pacific.) DATA False = False True = True webSite = 'http://www.fibs.com/savedgames/list.html'