未验证 提交 3296e30d 编写于 作者: P plum-lihui 提交者: GitHub

Merge pull request #1315 from greysign/patch-1

Update index.html
......@@ -176,7 +176,7 @@ for irow in range(numOfRows):
# 直接使用cursor 循环拉取查询结果
c1.execute('select * from tb')
for data in c1:
print("ts=%s, temperature=%d, humidity=%f" %(data[0], data[1],data[2])
print("ts=%s, temperature=%d, humidity=%f" %(data[0], data[1],data[2]))
</pre></code>
<li>关闭连接</li>
<code><pre>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册