Re: [Pyobjc-dev] Objective-C to Python converter
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2009-11-03 07:17:34
|
On 31 Oct, 2009, at 2:14, Anders Hovmöller wrote: > Hi, > > I was getting bored of converting pieces of objective-c from examples > and documentation to pyobjc manually so I wrote a little script to do > it: http://kodare.wordpress.com/2009/10/13/objective-c-to-python-converter/ > It's not the prettiest code but it gets the job done :P > > I've put the code under public domain and there's a little web form if > you want to use it without fiddling around too much with the script. This is rather cool, and pretty useful. One thing you may want to do is to strip all calls to the -release and -retain methods, those are handled automaticly by PyObjC. Looking at the source code for the converter that's probably a non-trivial change. Ronald |