Re: self extracting zipefile (windows) and (standard module) zipefile

2007-08-29 Thread Werner
On 30 Aug., 06:26, Scott David Daniels <[EMAIL PROTECTED]> wrote: > Grant Edwards wrote: > > ... > > > Another option is to search through the file from the beginning > > looking for whatever signature matches the beginning of a > > "normal" zip file. The self-extracting zipfiles that I've > > dis

Re: self extracting zipefile (windows) and (standard module) zipefile

2007-08-29 Thread Werner
On 29 Aug., 15:23, [EMAIL PROTECTED] wrote: > On Aug 29, 6:53 am, Werner <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > I try to read (and extract) some "self extracting" zipefiles on a > > Windows system. The standard module zipefile seems not to be able to > > handle this. > > > >>> fName = r

Re: self extracting zipefile (windows) and (standard module) zipefile

2007-08-29 Thread Scott David Daniels
Grant Edwards wrote: ... > Another option is to search through the file from the beginning > looking for whatever signature matches the beginning of a > "normal" zip file. The self-extracting zipfiles that I've > dissected are just an executable image concatenated with a > "normal" zipfile. If yo

Re: self extracting zipefile (windows) and (standard module) zipefile

2007-08-29 Thread Grant Edwards
On 2007-08-29, Hyuga <[EMAIL PROTECTED]> wrote: >> I try to read (and extract) some "self extracting" zipefiles >> on a Windows system. The standard module zipefile seems not to >> be able to handle this. [...] > > First of all, there's really no such thing as a "self > extracting zipefile". Perh

Re: self extracting zipefile (windows) and (standard module) zipefile

2007-08-29 Thread Hyuga
First of all, there's really no such thing as a "self extracting zipefile". I mean, obviously you have to do something to unzip it. A file doesn't just execute itself. What you're dealing with is not a _zip file_. It's an executable that has a zip file bundled with it, and the code to unzip it,

Re: self extracting zipefile (windows) and (standard module) zipefile

2007-08-29 Thread kyosohma
On Aug 29, 6:53 am, Werner <[EMAIL PROTECTED]> wrote: > Hi, > > I try to read (and extract) some "self extracting" zipefiles on a > Windows system. The standard module zipefile seems not to be able to > handle this. > > >>> fName = r"C:\tmp\mySelfExtratingFile.exe" > >>> import zipfile > >>> zipefi

self extracting zipefile (windows) and (standard module) zipefile

2007-08-29 Thread Werner
Hi, I try to read (and extract) some "self extracting" zipefiles on a Windows system. The standard module zipefile seems not to be able to handle this. >>> fName = r"C:\tmp\mySelfExtratingFile.exe" >>> import zipfile >>> zipefile.is_zipfile(fName)) False Is there a wrapper or has some one exper