摘要: 3月15日 【如何读取配置文件】 读取配置总是报错,后检查环境变量 ,将库文件考入即可无法导入 configparser模块,import configparser报错解. 在Python2下,需要大写:import ConfigParser在PYthon3下,需要小写:import configp 阅读全文
posted @ 2018-03-15 13:33 湖北哥哥 阅读(148) 评论(2) 推荐(0)
摘要: import time import sys#create by henryzkf 2018315 succ soundFile = 'sound.wav' not_executed = 1 def soundStart(): if sys.platform[:5] == 'linux': impo 阅读全文
posted @ 2018-03-15 13:31 湖北哥哥 阅读(139) 评论(1) 推荐(0)