def saveDirectory(alias):
if not settings.platformCompatible():<EOL><INDENT>return False<EOL><DEDENT>dataFile = open(settings.getDataFile(), "<STR_LIT:wb>")<EOL>currentDirectory = os.path.abspath("<STR_LIT:.>")<EOL>directory = {alias : currentDirectory}<EOL>pickle.dump(directory, dataFile)<EOL>speech.success(alias + "<STR_LIT>" + currentDirectory + "<STR_LIT:.>")<EOL>speech.success("<STR_LIT>" + alias + "<STR_LIT>")<EOL>
save a directory to a certain alias/nickname