Python learning notes (1) ---- python installation, python ---- python

Source: Internet
Author: User

Python learning notes (1) ---- python installation, python ---- python

1. Download Python for windows

Don't talk nonsense, directly on the web site: https://www.python.org/ftp/python/3.5.1/python-3.5.1.exe

2. Install Python for windows

After running the installation file, you will see this page:

I have to say that Python is more silly to Install on Windows platforms. Click Install Now and Python will be directly installed on your C drive. I thought at the time: as an IT staff, how can I be confined to installation in a silly way? No, you have to make your own choice. Then, click the "Install Now" button... Then, Python is actually installed on drive C (my poor drive c )...

========================================== I am a gorgeous splitting line ==== ======================================

Later, I tried to study the button below, and found that the interface after entering is like this.

The first is the document. Although it is in English, it is always better. Check it out.

The second is pip, which must be available, because the simplest Installation Method of Scrapy is through pip. Without this, installing Scrapy will spit out

The third is tcl/tk and IDLE. I don't know what to do now. Check it out first (default)

The fourth is the Python test package. This should be checked. If a BUG occurs later, a "segment error" similar to the C language should be reported, if the core has been dumped or the access is illegal, it will be a headache.

The following two items cannot be changed because they do not know what they are doing. It is probably an option similar to a shortcut.

Okay. Next, Next (Next)

Then this interface is displayed:

Well... Advanced Options.

First, Install for all users is your Python, whether it is for your own use, or for all users on your computer (if you do not know what the Windows user account is, you can skip it directly, do not tick)

Second, Associate files with Python associates Python-related files. We recommend that you select

Third, Create shortcuts for installed applications is to Create a desktop shortcut. After you click it, the "Python" shortcut appears on the desktop.

Fourth, Add Python to environment variables is to Add environment variables. After the check box is selected, you can directly enter "py" in cmd to open the python console program. We recommend that you select

Fifth, the fifth Precompile standard library is a pre-compiled public library. This function is not clear, but almost all pre-compilation aims to speed up subsequent operations, the disadvantage is that it causes additional disk overhead and slows down the installation speed. If you do not want to customize the core library, we recommend that you select this option.

Sixth, Download debugging symbols indicates whether to Download the debugging symbol. the symbol is used to locate the number of lines of code with debugging errors. If your Python is used as a development environment, it is recommended to check it, if it is used as the running environment, you can skip this check box.

Seventh, Download debug binaries indicates whether to Download the debugging symbols for VS. If VS is not used as a development tool, you do not need to check

I think all of them are useful =. I just want to select all of them. Next (Next)

The installation progress page is displayed. All you need to do is wait ......

If you select "Download XXX" in the previous step, the following steps may take a long time (depending on your network conditions) and you can wait patiently.

When you see the following interface, congratulations, the installation is successful.

 

After installation, try again!

Double-click the Python shortcut on the desktop (if the create shortcut selection box is not selected during installation, open it from the Start Menu). The following interface is displayed:

Next I started to enter the Python world, stretch out, pose, put my hand on the keyboard, and then press print ("Hello Python! ")

Then

It will return you a sentence: hello py

Now, after Python is installed, let's move on to the world of Python!

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.