The python client in the IoTDB 0.10.0 source code release has problems with the sample code for querying metadata and decimal precision.
You can use rel/0.10 to branch the new python-cli
https://github.com/apache/incubator-iotdb/blob/rel%2F0.10/client-py/
Both metadata query and data query can execute SQL through execute_query_statement