On 4/6/07, John Arbash Meinel <john at arbash-meinel.com> wrote: > We could work around this by doing: > > fileobj = open(export_path, 'wb') > tar = tarfile.open(os.path.basename(export_path), 'w:gz', > fileobj=fileobj) That's what I had in mind. -- Martin