Home > Article > Backend Development > where is idle in python
IDLE is an integrated development environment that comes with the Python software package, which can easily create, run, and debug Python programs.
Enter your python installation directory. For example, my python is installed on the d drive. You only need to enter the following folder, for example: D:\ProgramFiles \Python33\Lib\idlelib\idle.bat can be run.
Related recommendations: "Python Video Tutorial"
As for the solution to the appearance of a black blank cmd command prompt window, just use Notepad to open the idle.bat file. Just add exit at the end of the file,
For example:
idle.bat Original code:
@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
Changed code:
@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
Additional points , you can add D:\Program Files\Python33\Lib\idlelib\ to the system variable, so you just need to open cmd and enter idle and press Enter.
The above is the detailed content of where is idle in python. For more information, please follow other related articles on the PHP Chinese website!