Re: [Tutor] getting the size of an open TarFile object

2007-08-21 Thread Adam A. Zajac
> > I've been working with the tarfile module and just noticed an > > apparent flaw in my own logic. I wanted to add files to the tar > > until it neared a certain file size. After every addition I would > > use os.path.getsize(). What I noticed today is that I could add a > > file to the tar wi

Re: [Tutor] getting the size of an open TarFile object

2007-08-19 Thread Kent Johnson
Adam A. Zajac wrote: > Hello all, > > I've been working with the tarfile module and just noticed an apparent > flaw in my own logic. I wanted to add files to the tar until it neared > a certain file size. After every addition I would use > os.path.getsize(). What I noticed today is that I could

[Tutor] getting the size of an open TarFile object

2007-08-18 Thread Adam A. Zajac
Hello all, I've been working with the tarfile module and just noticed an apparent flaw in my own logic. I wanted to add files to the tar until it neared a certain file size. After every addition I would use os.path.getsize(). What I noticed today is that I could add a file to the tar without th