from os import * if not path.exists(root): mkdir(root) #这样就错了 import os if not os.path.exists(root): os.mkdir(root) #这个就没问题
是引入不能用from引入吗
我这里运行没有错误。