DB_CREATE.py 257 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 import pymysql from openpyxl import Workbook from openpyxl import load_workbook project=pymysql.connect( user='root', passwd='!!fnsldkwjsrl11', host='127.0.0.1', charset='utf8' ) cursor=project.cursor() cursor.execute("CREATE DATABASE LOL")