[BangPypers] Extracting tar.gz file

murugadoss murugadoss2884 at gmail.com
Thu May 27 02:49:13 CEST 2010


Hi all,

I am trying to extract tar.gz file using python script. when i do so, i get
an error,

   tar = tarfile.open("sample.tar.gz","r")
  File "/usr/local/lib/python2.5/tarfile.py", line 1153, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

can anyone say me, what this error exactly and how to solve this?

Thanks in advance
--
Thanks & Regards
V.Murugadoss


More information about the BangPypers mailing list