On 28 Jun 2005 21:09:12 -0700, Paul Rubin http://[EMAIL PROTECTED] 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
I had a post yesterday on just that. Anyways, I always love it when
what can be a really annoying problem, reduces into as something simple
and elegant like a python dict. (in general, I find dictionaries
rock).
I remember a similar eureka, when some time ago I found it really neat
that split
[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
Trent Mick ha scritto:
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.
That's (I guess) because the DOS spawn
I'm writing a Windows program that needs to store some user files.
The logical place to store them is in Application Data, right?
Is there a good way to find the correct location of that directory,
preferably without any C extensions? It's ok if the directory is
found at installation time
[Paul Rubin wrote]
I'm writing a Windows program that needs to store some user files.
The logical place to store them is in Application Data, right?
Is there a good way to find the correct location of that directory,
preferably without any C extensions? It's ok if the directory is
found
You have the environment variable APPDATA. You can access it with
os.environ().
--
http://mail.python.org/mailman/listinfo/python-list
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'] ;-)
--
http://mail.python.org/mailman/listinfo/python-list