Update pyclient.py