Python code persistance
neaesten at myrealbox.com
Thu Aug 29 03:48:45 CEST 2002
> I posted a reply earlier but maybe it got lost or its just delayed,
> anyways I improved the code. Note that pickle or marshall don't
> support persistence of code objects . the py_compile.compile may also
> work but it works with files only and not strings.
How do you explain this, then?
# Don't worry, I won't nuke your system!
import marshal, new
More information about the Python-list