Gabriel Rossetti <gabriel.rosse...@arimaz.com> writes: > I am trying to serialize a function, class, etc and transfer it
You mean the actual code? You have to use marshal rather than pickle, the Python versions have to be the same at both ends, and you better have some kind of authenticated transport to stop malicious code from getting accepted and run by the receiving end. -- http://mail.python.org/mailman/listinfo/python-list