Re: filename variables

2006-03-02 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > If in Windows XP I use: > > openstring= "test.py >foo.txt" > os.system(openstring) > > it works. > > > But if I use: > > file1='foo.txt' > openstring= "test.py >"+file1 > > It gives an IOError about no such file or directory as > \\mydidr\\foo.txt > > What does

filename variables

2006-03-02 Thread cyborg4
If in Windows XP I use: openstring= "test.py >foo.txt" os.system(openstring) it works. But if I use: file1='foo.txt' openstring= "test.py >"+file1 It gives an IOError about no such file or directory as \\mydidr\\foo.txt What does it mean ? -- http://mail.python.org/mailman/listinfo/pyth