RE: Extracting a file from a tarball

2007-04-03 Thread Boudreau, Emile
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carsten Haese Sent: Tuesday, April 03, 2007 1:42 PM To: python-list@python.org Subject: Re: Extracting a file from a tarball On Tue, 2007-04-03 at 13:26 -0400, Boudreau, Emile wrote: > I am trying to extract one file from a tar

Re: Extracting a file from a tarball

2007-04-03 Thread Carsten Haese
On Tue, 2007-04-03 at 13:26 -0400, Boudreau, Emile wrote: > I am trying to extract one file from a tarball, without success. This > is the code I'm using to open the tarball and extract the file: > > tar = tarfile.open(component+'-win32-app-'+bestVersion+'-dev.tar.gz', > 'r') > extractedFile = ta