加载uwb数据

安装 pymysql

(wind_2021) F:\PythonProject\ckf>
(wind_2021) F:\PythonProject\ckf>
(wind_2021) F:\PythonProject\ckf>pip install PyMysql
Collecting PyMysql
  Downloading PyMySQL-1.0.2-py3-none-any.whl (43 kB)
     |████████████████████████████████| 43 kB 324 kB/s
Installing collected packages: PyMysql
Successfully installed PyMysql-1.0.2

(wind_2021) F:\PythonProject\ckf>
(wind_2021) F:\PythonProject\ckf>
(wind_2021) F:\PythonProject\ckf>

 

 

 

(wind_2021) F:\PythonProject\ckf>python test_mysql.py
{'id': 1, 'x': 1458, 'y': 824, 'z': 323, 'recordTime': datetime.datetime(2019, 12, 2, 8, 59, 15)}
1458
{'id': 2, 'x': 1298, 'y': 1401, 'z': 647, 'recordTime': datetime.datetime(2019, 12, 2, 8, 59, 16)}
1298
{'id': 3, 'x': 1173, 'y': 1096, 'z': 543, 'recordTime': datetime.datetime(2019, 12, 2, 8, 59, 16)}
1173
{'id': 4, 'x': 1236, 'y': 1069, 'z': 561, 'recordTime': datetime.datetime(2019, 12, 2, 8, 59, 17)}
1236

(wind_2021) F:\PythonProject\ckf>

 

 

######################

posted @ 2021-06-12 21:03  西北逍遥  阅读(63)  评论(0编辑  收藏  举报