为什么在 PyCharm 上禁用了运行选项? [英] Why is the Run option disabled on PyCharm?
本文介绍了为什么在 PyCharm 上禁用了运行选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我发现在一个新项目中 Run 选项被禁用,我希望能够运行脚本而无需为其手动添加配置.
I observed that on a new project the Run option is disabled and I expected to be able to run a script without having to manually add a configuration for it.
推荐答案
没有配置就不能运行,但是如果在脚本中使用运行上下文菜单选项,可以自动创建临时配置编辑器.
You can't run without a configuration, however temporary configuration can be created automatically if you use Run context menu option in the script editor.
这篇关于为什么在 PyCharm 上禁用了运行选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文