python configparser讀取ini數據庫、郵箱配置文件

# coding=utf-8 import os import configparser import pymysql pymysql.install_as_MySQLdb() cur_path = os.path.dirname(os.path.realpath(__file__)) configPath = os.path.join(cur_path, "cfg.ini") conf =
相關文章
相關標籤/搜索