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

Erik Max Francis max at alcyone.com
Tue Aug 25 05:23:34 CEST 2009

ryniek wrote:
> On 24 Sie, 22:34, ryniek <rynie... at gmail.com> wrote:
>> On 24 Sie, 16:56, John Machin <sjmac... at lexicon.net> wrote:
>>> On Aug 25, 12:46 am, Tim Golden <m... at timgolden.me.uk> 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 designating
>>> That is the most inappropriate "of course" I've seen for quite a
>>> while.
>>>> the Alternate Data Streams:
>>> OK, so s/illegal/evil/
>> Ok, but how to get rid of those colons?
>> Is it necessary?
> I dealt with it. Had to change 'w:bz2' into 'w|bz2'.
> But now have another problem:

It's the same problem, asked and answered.  Why not read the replies of 
the people telling you what the problem is?

Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 18 N 121 57 W && AIM/Y!M/Skype erikmaxfrancis
   If the sky should fall, hold up your hands.
    -- (a Spanish proverb)

More information about the Python-list mailing list