Popular recipes by Andres Tremols http://code.activestate.com/recipes/users/1180386/2003-07-27T07:10:50-07:00ActiveState Code Recipesco_pickle , a module to serialize code objects (Python)
2003-07-27T07:10:50-07:00Andres Tremolshttp://code.activestate.com/recipes/users/1180386/http://code.activestate.com/recipes/212565-co_pickle-a-module-to-serialize-code-objects/
<p style="color: grey">
Python
recipe 212565
by <a href="/recipes/users/1180386/">Andres Tremols</a>
(<a href="/recipes/tags/shortcuts/">shortcuts</a>).
</p>
<p>Compiles a string of python code and returns a printable representation of the byte codes, the resulting string can then be restored back to a code object.</p>