I'm a python beginner, and I'm curious how can I send a dictionary through TCP
Pickle is considered insecure for sending data structures across connections as the object can never be trustfully reconstructed. This is why yaml, json or any other format is considered preferable.
Python sending dictionary through TCP