Client.py is the finished code (checked with pep8)!