Temat:, Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile
ryniek90 at gmail.com
Tue Aug 25 14:29:27 CEST 2009
On 25 Sie, 07:33, Dennis Lee Bieber <wlfr... at ix.netcom.com> wrote:
> On Mon, 24 Aug 2009 14:23:41 -0700 (PDT), ryniek <rynie... at gmail.com>
> 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:\APLIKACJE\nowegg.exe E:\ MyGG
> > OSError: [Errno 22] Invalid argument: 'E:\\MyGG(2009-08-24
> > 23:18:25).tar.bz2'
> > "
> WHERE in your program are you creating that file name? Based upon
> the invocation line, all you are supplying is the E:\MyGG part...
> Somewhere you are creating a timestamp and attaching that to the prefix.
> THAT is where you need to get rid of the colons -- the ones in the
> timestamp. Instead of 23:18:25 (or whatever the next run generates) you
> want something like 23_18_25...
> Wulfraed Dennis Lee Bieber KD6MOG
> wlfr... at ix.netcom.com HTTP://wlfraed.home.netcom.com/
Yep, i realized that it were THOSE colons. Thanks very much.
I think i must work on my perceptivity : P
More information about the Python-list