python idle在哪_python安装包里idle在哪
進入python安裝目錄,比如python安裝在d盤,你只要進到下面這個文件夾去,D:\Program Files\Python33\Lib\idlelib\idle.bat運行即可。
至于出現一個黑色的空白cmd命令提示符窗口的解決方法只要用記事本打開idle.bat文件,在文件的末尾加上exit即可,如:
idle.bat原代碼:@echo off
rem Start IDLE using the appropriate Python interpreter
set CURRDIR=%~dp0
start "IDLE" "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9
更改后代碼:@echo off
rem Start IDLE using the appropriate Python interpreter
set CURRDIR=%~dp0
start "IDLE" "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9
exit
補充:可以將D:\Program Files\Python33\Lib\idlelib\加入系統變量,這樣只要打開cmd輸入idle回車就可以了。
以上就是python安裝包里idle在哪的詳細內容,更多請關注php中文網其它相關文章!
本文原創發布php中文網,轉載請注明出處,感謝您的尊重!
總結
以上是生活随笔為你收集整理的python idle在哪_python安装包里idle在哪的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 用python向mongodb插入数据_
- 下一篇: python 柱状图 居中_python