|
@@ -13,6 +13,9 @@ from mysqlDataBase import MysqldbOperational
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
_logger = LogOut.Log('reset_issend_to_zero')
|
|
|
+ # 创建读取配置文件对象
|
|
|
+ config = configparser.ConfigParser()
|
|
|
+ config.read("config.ini", encoding="utf-8")
|
|
|
# 获取通用配置项
|
|
|
# section = "General" # 读取的部section标签
|
|
|
mysql_host = "localhost"
|