Windows installation uses Python, environment settings, multi-python version switching, pyserial and multi-version python installation, Windows command-line switch directory

Source: Internet
Author: User

Install Python under 1.windows

Download and install the website

2. Post-Installation environment settings

My Computer--Properties--advanced--Add the Python installation directory where path is set, such as C:\Python27; C:\Python33

3. Multi-version switching three ways:

1) Modify the C:\Python27; C:\Python33 inside Python.exe for Python2.7.exe, Python3.3.exe, can distinguish

2) The path path is removed and reserved for use.

3) switch to using the Python interpreter in the Python.exe directory where you want to use the version

4. Download the pyserial after installation, will automatically prompt to choose which version of Python to install

Use of the 5.python interpreter, enter Python at the command line of Windows (provided that the path path has been set previously)

(can also be programmed directly at the beginning of the--python3.3--python command line)

Note: The Windows command line switches directory methods, such as Target path: F:\test1\test2

1). F:

2) CD Test1

3) CD Test2

Windows installation uses Python, environment settings, multi-python version switching, pyserial and multi-version python installation, Windows command-line switch directory

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.