Home >Backend Development >Python Tutorial >where is idle in python

where is idle in python

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-06-12 14:35:3412520browse

IDLE is an integrated development environment that comes with the Python software package, which can easily create, run, and debug Python programs.

where is idle in python

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn