How to find Windows "Application data" directory??

Bengt Richter bokr at oz.net
Sat Jul 2 00:22:06 EDT 2005


On 28 Jun 2005 21:09:12 -0700, Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote:

>"Rune Strand" <rune.strand at gmail.com> 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'] ;-)

Hm, which windows is that? Not NT4 ;-)

Regards,
Bengt Richter



More information about the Python-list mailing list