在Notepad++中添加运行快捷键
在Notepad++中有运行的快捷键,想着如果编辑完Python文件能直接运行就好了,于是尝试了一下。
我安装的是win8.1,安装的notepad++将运行快捷键的文件shortcuts.xml,放在了C:\Users\你的用户名\AppData\Roaming\Notepad++下。
在notepad++运行中将IDEL的启动文件的路径写好并保存。在shortcuts.xml文件中编辑的如下:
<UserDefinedCommands>
<Command name=”Python 3.6″ Ctrl=”yes” Alt=”yes” Shift=”yes” Key=”80″>"C:\Users\你的用户名\AppData\Local\Programs\Python\Python36\Lib\idlelib\idle.bat" "$(FULL_CURRENT_PATH)"</Command>
</UserDefinedCommands>