至于出现一个黑色的空白cmd命令提示符窗口的解决方法只要用记事本打开idle.bat文件,在文件的末尾加上exit即可,如:
idle.bat原代码:
@echo offrem Start IDLE using the appropriate Python interpreterset CURRDIR=%~dp0start "IDLE" "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9
更改后代码:
@echo offrem Start IDLE using the appropriate Python interpreterset CURRDIR=%~dp0start "IDLE" "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9exit
补充:可以将D:\Program Files\Python33\Lib\idlelib\加入系统变量,这样只要打开cmd输入idle回车就可以了。
以上就是python安装包里idle在哪的知识。速戳>>知识兔学习精品课!