[英]Run in OPEN Python-Idle from Notepad++
Im using a shortcut in Notepad++ to Run my Python-files directly in Python IDLE. 我在Notepad ++中使用快捷方式直接在Python IDLE中运行我的Python文件。 From the shorcut.xml, you can see how I'm using it:
从shorcut.xml中,您可以看到我的使用方式:
<Command name="runinpython" Ctrl="no" Alt="yes" Shift="yes" Key="81">"C:\Python27\Lib\idlelib\idle.pyw" -r "$(FULL_CURRENT_PATH)"</Command>
The problem is: Every time I press Shift+Alt+Q
, it opens another IDLE-Window and I'd like to only open it once and then run my .py-files in it, otherwise I have to close the IDLE windows each time after every execution. 问题是:每次我按
Shift+Alt+Q
,都会打开另一个IDLE-Window,而我只想打开一次,然后在其中运行.py文件,否则我必须分别关闭IDLE窗口每次执行后的时间。
Do you know a way to do this? 你知道这样做的方法吗? Thanks
谢谢
http://mpcabd.xyz/notepad-plugin-to-run-python-scripts/支持它->从Notepad ++中运行py-script时,不会一直打开新的控制台窗口,而是脚本始终在打开的cmd窗口中运行:-)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.