[Pythonmac-SIG] Using a unix Python with a MacPython Lib tree
Jack Jansen
jack@oratrix.nl
Thu, 05 Apr 2001 00:01:25 +0200
Recently, Jonathan Wight <JWight@bigfoot.com> said:
> Well I was going to do more in Python. Originally I had just intended to
> extend python with single C function that sent it's input to the Cocoa
> NSTextView. And then create a Python file object to pipe data through that C
> function.
>
> But then I decided to have multiple NSTextViews so I had to store a pointer
> to the relevent NSTextView seperately inside my fake file objects.
Maybe this can be seen as proving Just's point (do more in Python): by
the time you've finished all the odds and ends you may have been
better off implementing W in Cocoa so that you get IDE for free (and a
lot more besides).
Hmm, on re-reading that paragraph: I definitely don't want to belittle
your efforts, far from it! It's just that I tend to agree with Just:
write as little C code as you possibly can, and use Python to glue it
all together.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm