How do I obtain the short path of a file in Windows using python ?
I am using the following code ,
#!/usr/bin/python import os import sys fileList =
I guess you are looking for this:
http://docs.activestate.com/activepython/2.5/pywin32/win32api__GetShortPathName_meth.html
Although you will need the win32api module for this.
Also see this link: http://mail.python.org/pipermail/python-win32/2006-May/004697.html