importing pyc from memory?

Derek van Vliet dvanvliet at 3dna.net
Mon Jul 4 09:37:59 EDT 2005


Using the Python/C API, is there a way I can import a pyc file that I
have in memory (as opposed to loading from disk)?

I'm trying to save compiled python code in a proprietary file format to
cut reduce the overhead of compiling all my scripts when my app starts
up.

Derek




More information about the Python-list mailing list