Sending Dictionary via Network
Larry Bates
larry.bates at websafe.com
Tue Oct 24 18:51:15 EDT 2006
mumebuhi wrote:
> Hi,
>
> Is it possible to send a non-string object from a Python program to
> another? I particularly need to send a dictionary over to the other
> program. However, this is not possible using the socket object's send()
> function.
>
> Help?
>
>
> Buhi
>
You will need to pickle it first and unpickle it on the other
end. Other than that, you should be able to send it just fine.
-Larry
More information about the Python-list
mailing list