sql = '''
create table if not exists tableName(xxx);
'''
cursor.execute(sql)
db.commit()
Python 中Mysql创建表时判断是否已经存在
猜你喜欢
转载自blog.csdn.net/qq_29339467/article/details/105315810
今日推荐
周排行