Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue824371] ntpath.expandvars doesn't expand Windows-style variables.

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jul 6, 2009, 6:03 AM

Post #1 of 1 (83 views)
Permalink
[issue824371] ntpath.expandvars doesn't expand Windows-style variables.

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>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.