import configparser cf = configparser.ConfigParser() cf.read("config.ini") # 讀取配置檔案,如果寫檔案的絕對路徑,就可以不用os模組 secs ...
確定! 回上一頁