import pyodbccon = pyodbc.connect(r'DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=Z:DataInstrumentstestDB.accdb; Provider=MSDASQL;')cur = con.cursor()string = "CREATE TABLE TestTable(symbol varchar(15), leverage double, shares integer, price double)"cur.execute(string)con.commit()
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)