[PYTHONMAC-SIG] Tiny python

Jack Jansen Jack.Jansen@cwi.nl
Wed, 31 Jul 1996 23:29:01 +0200


Recently, mike@xochi.com (Michael Diehr) said:
> I was wondering if it was possible to fold the python interpreter into some
> of my code for use as a scripting language?  I'd want the smallest subset
> possible (probably just the basic language plus string commands).  Has
> anyone experimented with this?  I'm looking for a target size of under 64K
> for the interpreter.

Hmm, 64K is *very* small. Unless you do some very heavy hacking you
will need everything from the Parser, Python, Objects and Mac/Python
directories, and there are probably some things in Modules too that
you might theoretically live without but need in practice. I wouldn't
give you much chance of a Python of less that about 200K, but this is
pure guesswork.

Why don't you ask again on the full python-list/comp.lang.python? The
problem isn't mac-specific, I guess...
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@cwi.nl      | ++++ if you agree copy these lines to your sig ++++
http://www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm 

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

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