In this tutorial we will learn how to create a database or how to check if any database exists already in MySQL using Python. 在本教程中,我们将学习如何使用Python 创建数据库或如何检查 MySQL中是否已经存在任何数据库 。 To create the ...
# -*-coding:utf-8 -*- import MySQLdb from ReadCode import ReadCode class CreateDatabase(): def __init__(self,sql): readcode=ReadCode() name=readcode.return_line()[0 ...