Cleaned PythonClient example