View Single Post
Old 08-16-2005, 01:26 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

To send objects across the network you will need to use the Python pickle module. This module will serialize any object into a string, and can recreate it. Here is some code that will take an object and serialize it to a string:
import pickle
s = pickle.dumps(obj)
The following code will convert a pickle string into an object:
import pickle
obj = pickle.loads(s)
Let me know if you need more help
Reply With Quote