I saw this thread:
http://bytes.com/topic/python/answers/553952-sending-dictionary-via-network
which works nicely for tiny dictionaries, but my sample pickled dictionary is about 500,000 characters long, and this method doesn't work. I tried splitting the dictionary on \n and then joining it, but the sockets hang after a coupla thousand lines.
Surely, passing a dictionary over a socket must be a fairly common request? how is it done?
http://bytes.com/topic/python/answers/553952-sending-dictionary-via-network
which works nicely for tiny dictionaries, but my sample pickled dictionary is about 500,000 characters long, and this method doesn't work. I tried splitting the dictionary on \n and then joining it, but the sockets hang after a coupla thousand lines.
Surely, passing a dictionary over a socket must be a fairly common request? how is it done?
Comment