Python Learning-1 Python environment settings and development

Source: Internet
Author: User

Start learning Python and plan to write down the learning process.

Download Python, although recommended official website, but feel official web side download Python is too slow, so I finally is in csdn above download python version (3.2.4 Windows 64 bit).

The reason is not now the latest version of Python (3.7.0), because 3.6.x, 3.7.0 installed on Windows 7, in the second half of the installation will be stuck, do not know why, my other computer is win 10, installed 3.6.0 did not appear this problem.

Install Yes, select a directory, and then configure the PATH environment variable, this is my address, so the environment variable add this address.

Configuration is complete.

Test: cmd--->python:

Writing Python in this window is inconvenient, create a script file to run, write a Hello World:

#!/usr/bin/pythonprint ("Hello python");

Save As "hello.py", go to cmd, go to file directory, run file: Python hello.py

Over

Python Learning-1 Python environment settings and development

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.