至于出现一个黑色的空白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在哪的详细内容。
