摘要: 一、判断数据表是否存在 在创建数据表前先进行判断所需创建的数据表名在数据库中是否存在 def table_exists(self, table_name): """检查数据表是否存在""" self.connect_to_database() cursor = self.connection.cur 阅读全文
posted @ 2023-11-08 17:29 墨遗忘 阅读(350) 评论(0) 推荐(0)
摘要: import winreg import os import time from collections import deque from typing import Any # root HKEY_CURRENT_USER = winreg.HKEY_CURRENT_USER # key pat 阅读全文
posted @ 2023-11-08 14:18 墨遗忘 阅读(1337) 评论(0) 推荐(0)