Python数据库操作连接数据库表格操作数据操作附录
连接数据库获得当前工作目录import oscurrent_folder=os.getcwd()生成数据库文件路径path=current_folder+'\Output\Test.mdb'数据库连接def __init__(self,path): self.conn = pyodbc.connect(r"Driver={Driver do Microsof...