What's the best way to write this regular expression?

John Salerno johnjsal at gmail.com
Thu Mar 8 02:26:28 EST 2012


On Mar 7, 4:02 pm, Evan Driscoll <drisc... at cs.wisc.edu> wrote:
> On 01/-10/-28163 01:59 PM, Prasad, Ramit wrote:
>
> > gz stands for gzip and is a form of compression (like rar/zip ).
> > tar stands for a tape archive. It is basically a box that holds the
> > files. So you need to "unzip" and then "open the box".
>
> > Normally programs like WinZip / WinRar / 7-zip will do both in one step
> > so you do not need to. Not sure what program you are using...
>
> I'm not sure what 7-zip you're referring to, because I use 7-zip and
> it's always been a two-step process for me...
>
> (Though I can't say I've looked through the preferences dialog for a
> "extract .tar.gz files in one go" setting.)
>
> Evan

Same here, because that's what I used. I looked through the settings
but didn't see anything. What seems to happen is that 7-Zip recognizes
the .gz extension and opens that automatically. But then that simply
opens up another window with the .tar file in it, which you have to
then open again.



More information about the Python-list mailing list