Restoring Jython to a certain state.
Andre M. Descombes
amdescombes at diligo.fr
Tue May 22 11:45:52 EDT 2001
Hi,
I am calling Jython from a Java program. I use the PythonModule.addPyProgram
function to add my python program, and the PythonModule.compilePyProgram to
compile it. At this moment I would like to take a snapshot of my
PythonInterpreter so that I can later come back to this same state and
reexecute the program. Can this be done? Can I save the globals and locals
of the PythonInterpreter and later restore them?
Thanks,
Andre M. Descombes
More information about the Python-list
mailing list