> -----Original Message----- > From: garabik-news-2005...@kassiopeia.juls.savba.sk > [mailto:garabik-news-2005...@kassiopeia.juls.savba.sk] > Sent: Sunday, May 24, 2009 13:37 > To: python-list@python.org > Subject: Re: A fast way to read last line of gzip archive ? > > Barak, Ron <ron.ba...@lsi.com> wrote: > > > > > > > > I thought maybe someone has a way to unzip just the end > portion of the > > archive (instead of the whole archive), as only the last part is > > needed for reading the last line. > > dictzip (python implementation part of my serpento package) > you have to compress the file with dictzip, instead of gzip, > though (but dictzipped file is just a special way of > organizing the gzip file, so it remains perfectly compatible > with gunzip&comp.)
Unfortunately, the gzip archive isn't created by me, and I have no say in how it's created. :-( Thanks, Ron. > > > -- > ----------------------------------------------------------- > | Radovan GarabĂk http://kassiopeia.juls.savba.sk/~garabik/ | > | __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk | > ----------------------------------------------------------- > Antivirus alert: file .signature infected by signature virus. > Hi! I'm a signature virus! Copy me into your signature file > to help me spread! > > -- http://mail.python.org/mailman/listinfo/python-list