Commit 84458561 authored by 张彦钊's avatar 张彦钊

change test file

parent 7a00ad8f
......@@ -162,8 +162,9 @@ if __name__ == '__main__':
sql = "select device_id from esmm_train_data limit 10"
cursor = db.cursor()
cursor.execute(sql)
result = cursor.fetchall()[0]
a = list(result)
result = cursor.fetchall()
print(result)
a = [i for i in result]
print(a)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment