Re: Temat:, Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-25 Thread ryniek
On 25 Sie, 07:33, Dennis Lee Bieber wrote: > On Mon, 24 Aug 2009 14:23:41 -0700 (PDT), ryniek > declaimed the following in gmane.comp.python.general: > > > C:\Users\Ryniek's WinSe7en\Documents\My Dropbox\Aplikacje > > \Moje_aplikacje\Pythonowe_aplikacje\Skrypty>python ba > > ckuper.py -f E:\APLIK

Re: Temat:,Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread Erik Max Francis
ryniek wrote: On 24 Sie, 22:34, ryniek wrote: On 24 Sie, 16:56, John Machin wrote: On Aug 25, 12:46 am, Tim Golden wrote: Dave Angel wrote: You still haven't gotten rid of those illegal colons in the filename. They're not legal in Windows, as has been pointed out a couple of times in th

Re: Temat:, Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread Dave Angel
You shouldn't want either a colon or a pipe symbol in the filename string (not counting the drive letter prefix). A single colon gives you surprising behavior, and two will give you Invalid Argument. See inline responses. ryniek wrote: On 24 Sie, 22:34, ryniek wrote: Ok, but ho

Re: Temat:, Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread ryniek
On 24 Sie, 22:34, ryniek wrote: > On 24 Sie, 16:56, John Machin wrote: > > > On Aug 25, 12:46 am, Tim Golden wrote: > > > > Dave Angel wrote: > > > > You still haven't gotten rid of those illegal colons in the filename.   > > > > They're not legal in Windows, as has been pointed out a couple of

Re: Temat:, Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread ryniek
On 24 Sie, 16:56, John Machin wrote: > On Aug 25, 12:46 am, Tim Golden wrote: > > > Dave Angel wrote: > > > You still haven't gotten rid of those illegal colons in the filename.   > > > They're not legal in Windows, as has been pointed out a couple of times > > > in this thread. > > > Ummm.. Colo

Re: Temat:, Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread John Machin
On Aug 25, 12:46 am, Tim Golden wrote: > Dave Angel wrote: > > You still haven't gotten rid of those illegal colons in the filename.   > > They're not legal in Windows, as has been pointed out a couple of times > > in this thread. > > Ummm.. Colons are of course legal in Windows filenames as desig

Re: Temat:,Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread Tim Golden
Dave Angel wrote: You still haven't gotten rid of those illegal colons in the filename. They're not legal in Windows, as has been pointed out a couple of times in this thread. Ummm.. Colons are of course legal in Windows filenames as designating the Alternate Data Streams: with open ("c:/t

Re: Temat:,Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread Dave Angel
Ryniek90 wrote: John Machin wrote: Erik Max Francis alcyone.com> writes: I also suspect the "pipe" symbol. I don't know if it's an invalid character to Windows, but it's certainly a bad idea. The '|' character means something special to the shell. The "pipe" character

Temat:,Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread Ryniek90
John Machin wrote: Erik Max Francis alcyone.com> writes: I also suspect the "pipe" symbol. I don't know if it's an invalid character to Windows, but it's certainly a bad idea. The '|' character means something special to the shell. The "pipe" character is not a vali