How to make Python “not recognized as an internal or external command” an exception

前端 未结 0 926
暗喜
暗喜 2020-11-29 03:55

I have this block of code:

path = askdirectory(title=\'Choose folder\')
os.chdir(path)   

try:        
    os.system(\'currency.py\')
except:
    #Error mess         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题