前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
Created by: LunaticTian
File "/usr/lib/python3.5/configparser.py", line 956, in __getitem__ raise KeyError(key) KeyError: 'token'
解决
import os os.chdir(os.path.dirname(os.path.abspath(__file__)))
需要切换到当前脚本目录