[Tutor] *.rar decompress

Isr Gish isrgish at fastem.com
Mon Sep 27 02:49:48 CEST 2004


Thanks Jimmy
(see below)

-----Original Message-----
   >From: "Jimmy Retzlaff"<jimmy at retzlaff.com>
   >Sent: 9/26/04 4:34:00 AM
   >To: "Isr Gish"<isrgish at fastem.com>
   >Cc: "tutor at python.org"<tutor at python.org>
   >Subject: RE: [Tutor] *.rar decompress
     >Isr Gish wrote:
   >> After taking a look at your module, I see it needs ctypes. I'm working
   >on
   >> a Pocket PC, and as far as I know ctypes wasn't ported to the pocket
   >PC.
   >> So now I'm looking for a different option to be able to decompress
   >*.rar
   >> file. Can someone give a pointer to this.
   >
   >The WinRAR site offers a GUI de-compressor for Pocket PC. I've never
   >done any Pocket PC programming, so I have no idea how hard it would be
   >to control a GUI from Python or any other language there.

I wouldn't know how to control a GUI from python on any platform. I'm a relative newbee.


   >
   >Does the port of Python you're using on the Pocket PC have the zip
   >module? If so, could you convert the RAR to Zip on the PC before it gets
   >to the mobile device and then use the zip module there?

It has the zip module, but I have a lot of .rar files. And the zip compression is much large. (the Pocket PC doesn't have much space to begin with.)


   >
   >There is also "portable" C code for decompression on the WinRAR site -
   >you could try compiling that for the Pocket PC and wrapping it up as a
   >Python extension.

I'll have a look at this. But I don't have much hope, because I never compiled anything before. You never know there is always a first.


Thanks again and all the best,
Isr


   >
   >Jimmy
   >



More information about the Tutor mailing list