importing pyc from memory?

Derek van Vliet dvanvliet at
Mon Jul 4 18:58:58 CEST 2005

Up to now, I've had all my python scripts defined in XML elements,
which were compiled when my program started up using Py_CompileString.
This has worked great, but I'm finding that most of the time my app
uses to start up is spent in that Py_CompileString, because of the
large number of scripts that I use.

Unfortunately, storing these scripts as .pyc files on disk is not an
option for me.

More information about the Python-list mailing list