[issue824371] ntpath.expandvars doesn't expand Windows-style variables.
Amaury Forgeot d'Arc
report at bugs.python.org
Mon Jul 6 15:03:07 CEST 2009
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
This is already part of 2.6:
>>> os.path.expandvars("%WIndir%/foo")
'C:\\WINNT/foo'
>>> os.path.expandvars("%invalid%")
'%invalid%'
----------
nosy: +amaury.forgeotdarc
resolution: -> out of date
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue824371>
_______________________________________
More information about the Python-bugs-list
mailing list