The python code example of the README is broken as written. Please see https://github.com/mdodong/semuxapi-py/pull/1