You should serialize it with pickle:
import pickle
dict = {...}
tcp_send(pickle.dumps(dict))
And on the other end:
import pickle
dict = pickle.loads(tcp_recieve())
If the other end is not written in python, you can use a data serialization format, like xml, json or yaml.