pep-249.py 155 字节
Newer Older
1 2 3 4 5 6 7 8 9
import taos

conn = taos.connect()
cursor = conn.cursor()

cursor.execute("show databases")
results = cursor.fetchall()
for row in results:
    print(row)