在 Python 3.x 版本后,ConfigParser.py 已经更名为 configparser.py 所以出错! 转载于:https://www.cnblogs.com/jiqingsishenet/p/8136213.html