推荐使用 `python >= 3.4`。首先需要安装 python 连接器 `taospy`。执行以下命令即可: ``` pip3 install taospy ``` ```python {{#include docs-examples/python/connect_exmaple.py}} ```