[Pythonmac-SIG] Mac sit files

Michael J. Barber mjb@uma.pt
Tue, 9 Jul 2002 12:24:05 +0100


On Monday, July 8, 2002, at 03:02  PM, Jack Jansen wrote:

>
> On Monday, July 8, 2002, at 03:01 , Guy Flowers wrote:
>
>> Hi
>>
>> Quick question,
>>
>> I've been looking at the zip module in python, I was wondering if 
>> there is
>> some
>> code of some sort, anywhere that could do the same but in a mac sit
>> file.
>
> .sit files use a proprietary encoding. Last time I checked (which was, 
> admittedly, many years ago) the scheme was either unpublished or 
> copyright-protected or some such, and no third-party decoders were 
> available.
>
> You could probably wrap the stuffit engine (which is allowed, I 
> assume), I'll gladly accept contributed code,
>
Possibly, the StuffIt Commands OSAX could be helpful. Python can talk to 
that using the OSA tools. The OSAX is available at 
<http://www.lazerware.com/software.html>.