I don’t know if you have ever been troubled, that is how windows
to open the python
built-in command line in the built-in command line shell(编译器)
, today I studied it and shared it. The actual process is very simple.
Step 1: Use to Win + R
open the running interface, as shown in the figure below:
Step 2: Input cmd
and click 确定
, because my system language is not Chinese, so the picture above is different, but it does not affect. The result is shown in the figure below:
Step 3: Enter idle
and press Enter(回车键)
. The result is shown in the following figure:
However, shell
there is a problem with the built-in opened by this method , that is, only the python
built-in module can be used, and the module added by the user cannot be used. So how to solve this problem? If you are using a Pycharm
compiler, this problem can be ignored, because users can use the modules they add. If you are using the Anaconda Spyder compiler, you can refer to How to open python with idle in Anaconda .
If you find it useful, please raise your hand and give a thumbs up so that more people can see it~