I need some code to store user preferences that will work across platforms. The issue is not the file format, I know about ConfigParser and have my own format that I can use as well. The problem is that while I can use os.path.expanduser for Unix systems and on Windows 2000 (maybe NT as well?) I could use the 'USERPROFILE' environment variable, I'm not sure if there is anything available for me on Windows 98, the Mac, etc. This seems like it would be a FAQ or something that was solved in the Python Standard Libraries, but I've been looking without success. If anyone knows of a cookbook entry to solve this problem or if you have your own solution please let me know. If I don't get an answer in the next couple of days I'll post to comp.lang.python. Thanks, ka --- Kevin Altis [EMAIL PROTECTED] _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activepython