Re: [Python-Dev] Obtaining short file path

2008-06-09 Thread Trent Nelson
-Dev] Obtaining short file path Hi, Purpose: obtaining the system (“short”) path from a full path Background: File dialogs (visual studio) return a full path (e.g. f=“C:\this path has spaces\thisfilenameislongerthan8char.txt”). If this value is provided to Python, it will not recongize

Re: [Python-Dev] Obtaining short file path

2008-05-30 Thread Ulrich Berning
Hartwell Bryan wrote: Hi, Purpose: obtaining the system (“short”) path from a full path Background: File dialogs (visual studio) return a full path (e.g. f=“C:\this path has spaces\thisfilenameislongerthan8char.txt”). If this value is provided to Python, it will not recongize this as a

[Python-Dev] Obtaining short file path

2008-05-29 Thread Hartwell Bryan
Hi, Purpose: obtaining the system (short) path from a full path Background: File dialogs (visual studio) return a full path (e.g. f=C:\this path has spaces\thisfilenameislongerthan8char.txt). If this value is provided to Python, it will not recongize this as a file. In fact os.path.isfile(f)