By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,050 Members | 1,020 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,050 IT Pros & Developers. It's quick & easy.

Python API to manipulate CAB files.

P: n/a
Does anyone know of a Python API to manipulate CAB files?

Thanks,

--
Isaac Rodriguez
SWE Autodesk.
========================================
There are 10 types of people.
Those who undertand binary, and those who don't
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Isaac Rodriguez schrieb:
Does anyone know of a Python API to manipulate CAB files?


If there is a Windows API you can probybly call it from Python
using Mark Hammond's Win32 extensions.

--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
-------------------------------------------------------------------
Jul 19 '05 #2

P: n/a
On 6/22/05, Peter Maas <pe***@somewhere.com> wrote:
Isaac Rodriguez schrieb:
Does anyone know of a Python API to manipulate CAB files?


I guess you'll have to interface with setupapi.dll
(SetupIterateCabinet) via ctypes, or with Microsoft Cabinet utilities
via subprocess module. Neither is what people call fun...

- kv
Jul 19 '05 #3

P: n/a
Konstantin Veretennicov <kv***********@gmail.com> writes:
On 6/22/05, Peter Maas <pe***@somewhere.com> wrote:
Isaac Rodriguez schrieb:
> Does anyone know of a Python API to manipulate CAB files?


I guess you'll have to interface with setupapi.dll
(SetupIterateCabinet) via ctypes, or with Microsoft Cabinet utilities
via subprocess module. Neither is what people call fun...

- kv

Probably not what you mean with 'manipulate CAB files', but it may give
a start with ctypes and cab:

http://starship.python.net/crew/thel....cgi/CreateCab

Thomas
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.