[Paul Rubin wrote] > "Rune Strand" <[EMAIL PROTECTED]> writes: > > You have the environment variable APPDATA. You can access it with > > os.environ(). > > Thanks!!!!!! Wow, I'd been hacking away at much messier approaches > than that. It's actually os.environ['APPDATA'] ;-)
Note that the APPDATA environment variable is only there on *some* of the Windows flavours. It is there on Win2k and WinXP. It is not there on WinME. Dunno about Win95, Win98, WinNT... but you may not care about those old guys. Cheers, Trent -- Trent Mick [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list