Notepad++编写运行python程序

Notepad++编写运行python程序。

1.菜单栏->语言->P->Python设置语言为Python

2.写好代码后ctrl+s保存文件为py文件

3.菜单栏->运行,输入cmd /k cd /d "$(CURRENT_DIRECTORY)" &  python "$(FULL_CURRENT_PATH)" & ECHO. & PAUSE & EXIT

4.点击保存按钮,将该命令设置为快捷键,如ctrl+f5

5.之后按ctrl+f5即可运行Python程序

详细信息请参考https://blog.csdn.net/wanglj2012/article/details/82968129

猜你喜欢

转载自www.cnblogs.com/huangsitao/p/10323198.html