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

change test file

parent 7e2667ff
...@@ -194,6 +194,7 @@ def to_data_base(): ...@@ -194,6 +194,7 @@ def to_data_base():
cursor.execute(sql) cursor.execute(sql)
result = cursor.fetchall() result = cursor.fetchall()
db.close() db.close()
print(result)
if result is not None: if result is not None:
print([i[0] for i in result]) print([i[0] for i in result])
return [i[0] for i in result] return [i[0] for i in result]
......
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