Send a Class Object by Socket

Skip Montanaro skip at
Tue Jan 8 18:19:56 CET 2002

    Hugo>  File "./", line 41, in ?
    Hugo>     CliSock.send(cPickle.dumps(vp_master) )
    Hugo> cPickle.PicklingError: Cannot pickle <type 'array'> objects.

    Hugo> Do you know ho to picke an array ?

Check the library reference manual section for the pickle module:

Pay particular attention to the subsection near the bottom of the page
entitled "Pickling and unpickling extension types".

Skip Montanaro (skip at -

More information about the Python-list mailing list