Notepad运行python脚本修改工程文件的编码方式 importos;importsys;forfpathe,dirs,fsinos.walk("D:\\projects\\soure"):forfinfs: os.path.join(fpathe,f)iff[-2:] =='.h': notepad.open(fpathe+"\\"+f) notepad.runMenuCommand("Encoding","Convert to UTF-8") notepad.save() notepad.close()pri...