The first step in explaining the Python interpreter installation and simple Python entry

Source: Internet
Author: User
Tags python script
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.