python sqlite3

作者: shaoliang 2020-04-04 09:32   访问数:685

import  sqlite3
conn=sqlite3.connect("/home/sl/1.db")
c=conn.cursor()


c.execute("select * from a")
for r in c.fetchall():
    print(r[1])


鲁ICP备19029146号-1 管理
CopyRight@51dr.top 页面打开时间 0.0305 秒.