[wxPython-users] Opening command line arguments

Christopher Barker Chris.Barker at noaa.gov
Sun Jun 17 23:06:25 PDT 2007


Guilherme Polo wrote:
>> But when I open something like, say "C:\Documents and
>> Settings\Owner\My Documents\My Homework\US History\chapter2.nln", my 
>> program
>> fails to open the file.
>>
>> To debug the issue, I wrote to a file exactly what was being passed as a
>> sys.argv[1] when I double clicked on chapter2.nln. Turns out that it was
>> this mess:
>> "C:\\DOCUME~1\\Owner\\MYDOCU~1\\MYHOME~1\\USHIST~1\\chapter2.nln".
>> I think this is the doing of the operating system, but I'm not sure.

Stani -- might this be the SPE problem a user recently reported? I'm 
guessing it's someone using fat32 instead of ntfs for their file system.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception




More information about the wxpython-users mailing list