Client - server in python for learning purposes