[PYTHONMAC-SIG] Re: Python and Super/hypercard

John Dunning jdunning@mfactory.com
Wed, 20 Nov 1996 16:44:58 -0800


At 5:20 AM -0800 on 11/18/96, Jack Jansen wrote:
> > The other idea is a bit more complicated.  It seems to me that it should be
> > possible to make an xcmd out of python itself. such an xcmd would allow you
> > to make an embeded application in HyperCard or SuperCard (or any
> > application that can use xcmds) just by importing the python xcmd
> > "resource".
>
> This is impossible. Or, let me state that differently: I wouldn't know
>how to
> do this. Python needs lots of code and dataspace, and code resources are too
> cramped.

Why are code resources too cramped?  Are code fragments or shared libraries
better?

I'm interested in putting the Python interpreter into a shared library that
will then be loaded as a component into another application.  Is this
possible?  Has anyone had experience embedding Python into a Mac app?  I've
read the chapter in Internet Programming with Python about embedding Python
into the Netscape server, but I would expect there to be many Mac-specific
pitfalls.

John

______________________________________________________________________________
John Dunning              Interface Designer             jdunning@mfactory.com



=================
PYTHONMAC-SIG  - SIG on Python for the Apple Macintosh

send messages to: pythonmac-sig@python.org
administrivia to: pythonmac-sig-request@python.org
=================