Stupid methodology python--Installation and preparation

Source: Internet
Author: User

1 Download and install Python

Http://python.org/download

Download python2.7. python2.7 is not an old version of python3.5. Python2 is now widely used, online information is more, enough to learn to use.

After installation, now the system, do not set environment variables can also be used. It is also possible to set.

My Computer, right-click, advanced system settings, advanced, environment variables, system variables, Path, add Python installation directory.

There are also commands to set, although the operation is faster, but to remember the command, also troublesome. After all, the command is not used.

[Environment]::setenvironmentvariable ("Path", "$env:P Ath; C:\Python27 "," User ")

2 Powershell

Create a directory, mkdir Newdir

Enter a directory, CD Newdir

Create a new file in the directory using the editor to view the directory dir

or LS

Stupid methodology python--Installation and preparation

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.