[Pythonmac-SIG] SetSystemUIMode in python?

Bob Ippolito bob at redivi.com
Sat May 28 01:05:47 CEST 2005


On May 27, 2005, at 3:01 PM, Dethe Elza wrote:

>> While Pyrex is a pretty reasonable way to write extensions, PyObjC or
>> ctypes is generally less painful when wrapping a small number of
>> functions.
>>
>
> This is very interesting.  I thought the basic choices for wrapping C
> functions were:
>
> * Pyrex
> * ctypes
> * Write Obj-C and import with PyObjC

* SWIG (ughh)
* Write C++ and use Boost.Python (ugh)
* Python C API directly (not really *that* bad)
...

> I hadn't realized that you could import functions with PyObjC and no
> (additional) intervening Obj-C code. Very very cool.

This functionality has been there since 1.2 (2004-12-29).

-bob



More information about the Pythonmac-SIG mailing list