美文网首页
Windows python脚本不接受参数解决方法

Windows python脚本不接受参数解决方法

作者: YANWeichuan | 来源:发表于2020-04-02 18:49 被阅读0次

在Windows下,执行python脚本,参数不能被接受,解决方法:注册表里搜索python.exe,检查关联启动的命令是否为:"......\python.exe " "%1" %*
如果没有%*参数被忽略。手动编辑添加即可。

Screen Shot 2020-04-02 at 18.46.17.png

相关文章

网友评论

      本文标题:Windows python脚本不接受参数解决方法

      本文链接:https://www.haomeiwen.com/subject/likfphtx.html