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 this as a

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 file

Re: [Python-Dev] Obtaining short file path

2008-05-29 Thread Brett Cannon
On Tue, May 27, 2008 at 6:00 AM, Hartwell Bryan <[EMAIL PROTECTED]> wrote: > Hi, > > Purpose: obtaining the system ("short") path from a full path > Best thing to do is to open an issue with the patch, otherwise this will just be ignored as we don't accept code to this mailing list. -Brett __

[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)