1, the first to have a Python interpreter, if you do not know where to download, you can go to my blog download, free of charge. The installation is very simple, I have installed it and will not show you.
2, after the installation is complete
3, Next is to configure the system environment variables, you can see my previous blog is how to configure the system environment variables, after the configuration is completed, such as, note: I have only one environment variable, if you are multiple, directly with;
4. Open the CMD Command Line window and enter Python directly, such as to indicate that the interpreter started successfully
5, enter the following statement in the prompt, press ENTER to see the effect of running:
6, you can also execute the Python script by command, the following is the code I wrote in the script.
7. Execute the Python script by command.
The first step in explaining the Python interpreter installation and simple Python entry