leo wrote: > 'c\x00\x00\x00\x00\x01\x00... > ---------------------------------------------------- > <code object ? at 0x81690c0, file "<strng>", line 2> > > Question: > 1. why unmarshal data is > <code object ? at 0x81690c0, file "<strng>", line 2>
because that's what compile returns, of course. marshal.dumps takes a Python object and turns it into a string; marshal.loads takes such a string and turns it into a Python object. > 2. how safe is the compiled and serialize data. define "safe". </F> -- http://mail.python.org/mailman/listinfo/python-list