解决:UnicodeDecodeError: gbk codec can t decode byte 0xaf in position 349: illegal multibyte sequenc
(一)报错原因:不能识别GBK(二)解决方法定位报错代码:defcfg_from_file(filename):"""Loadaconfigfileandmergeitintothedefaultoptions."""importyamlwithopen(filename,'r')asf:yaml_cfg=edict(yaml.full_load(f))_merge_a_into_b(yaml_c