newbie: Windows os.getenv(...

Martin info12 at webmail.link-m.de
Mon Oct 20 04:32:05 EDT 2003


Hi there,

i´d like to use environment variables within an python script.
I can read with 
>>>t1 = os.getenv("temp")
but not
>>>d1 = os.getenv("%date%")

Also I cannot change environment variables with
os.putenv("any" , "something")

Do you have a clue?
thank you

Martin





More information about the Python-list mailing list