我想要一个python脚本的结尾来从python打开Windows照片库我尝试:os.system("C:\\ProgramFiles(x86)\\WindowsLive\\PhotoGallery\\WLXPhotoGallery.exe");我得到:'C:\Program'isnotrecognizedasaninternalorexternalcommand,operableprogramorbatchfile.有什么办法可以解决这个问题吗? 最佳答案 正如MartijnPieters指出的那样,您确实应该使用subproce