Re: marshal.loads ValueError



On Jan 31, 8:02 am, Benjamin Niemann <p...@xxxxxxxxxx> wrote:
marshal is used to (de)serialize python objects from/to strings.
marshal.loads() tries to deserialize an encoded string back into a python
object - which does not make sense here.
What you probably want is:

exec data in my_module.__dict__

thanks that took care of it.

.