Python Learning Notes (1)----python installation

Source: Internet
Author: User

1. Download python for Windows

Nonsense not to say, directly on the website: 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 the installation of Python under the Windows platform is more stupid than the fool type, directly click on the install Now,python is directly loaded into your C drive. I thought to myself: how can we, as IT staff, be confined to a fool-like installation? No, I want to have my own choice. Then, resolutely clicked on the "Install now" this button ... Then, Python is really on the C drive (my poor C space) ...

================================ I'm gorgeous split-line ====================================

Then I tried to study the Next button, and I found the interface was like this.

The first one is the document, although English, but there is always better than no, tick it.

The second is PIP, this must have, because scrapy the easiest way to install is through PIP, without this, install scrapy will spit out

The third one is TCL/TK and idle, this is not clear now is what to do, first tick it (default)

The fourth one is the Python test package, this should be checked, in case of a bug in the future to report a C-language "segment error, the core has been dumped" or "access violation" what that can be a headache dead

Below two, not clear is what to do, also can't change, estimate is similar to a shortcut of an option

Ok, Next, next (next)

The interface then appears:

Well... Advanced Options, feel good tall on the look.

The first, Install for all users is the python you are using for yourself, or to make it available to all users on your computer (if you don't know what the Windows user account is, you can simply skip it and uncheck it).

The second, Associate files with Python is the Python related file associated with Python, it is recommended to tick

Third, create shortcuts for installed applications is a shortcut to creating a desktop shortcut that will appear on your desktop after clicking "Python"

Fourth, fourth add Python to environment variables is to add the environment variable, check after installing you in CMD directly to the "py" can open the Python console program, suggested tick

Fifth, the fifth Precompile standard library is a precompiled public library, this feature is not very clear, but almost all of the pre-compilation purpose is to improve the subsequent running speed bar, the disadvantage is that it will cause additional disk overhead, and will slow down the installation speed, If you do not intend to customize the core library, the recommended check.

Sixth, Download debugging symbols Indicates whether to download debug symbols, the symbol is to locate debug error code line number, if your python is used as a development environment, the recommended check, if used as a running environment, can not be checked.

Seventh, Download Debug binaries Indicates whether to download debug symbols for VS, and if you do not use VS as a development tool, you do not need to tick

I feel all useful = =, simply choose it all, next step (next)

is the installation progress interface, this interface to do is, etc...

If you check the "Download XXX" in the previous step, the following steps may last a long time (depending on your network condition), wait patiently.

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

The installation is ready, try it quickly!

Double-click the Python shortcut on the desktop (if you did not tick the Create Shortcut selection box when you installed it), the following interface appears:

The next step is to enter the world of Python, stretch, pose, hand on the keyboard, then press print ("Hello python!")

And then

It's back to you: Hello py

At this point, Python installation is complete, and then stretch, ready to enter the world of Python!

Python Learning Notes (1)----python installation

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.