Message80765
os.environ doesn't escape spaces, but does backslashes and others
In the windows python interpreter I echo'd the variable 'ProgramFiles',
then in the commandprompt.
>>> from os import environ
>>> environ['ProgramFiles']
'C:\\Program Files'
>>> ^Z
[C:\]echo %ProgramFiles%
C:\Program Files
This 'half' escapping seems odd, and is annoying when building file
paths for instance, probably the space should also be escaped. |
|
Date |
User |
Action |
Args |
2009-01-29 14:42:00 | stuaxo | set | recipients:
+ stuaxo |
2009-01-29 14:41:59 | stuaxo | set | messageid: <1233240119.96.0.34005552843.issue5098@psf.upfronthosting.co.za> |
2009-01-29 14:41:56 | stuaxo | link | issue5098 messages |
2009-01-29 14:41:56 | stuaxo | create | |
|