Home > Backend Development > Python Tutorial > Environment installation for beginners in Python

Environment installation for beginners in Python

巴扎黑
Release: 2017-07-19 17:23:56
Original
1256 people have browsed it

Start learning python today. First, install the environment.

1. Download python2. The program that comes out, will not be compatible with 32-bit systems after is packaged into an EXE program)

  

2. After downloading and installing, open the installation package

  

 2.1 Default installation, the default installation is under the C drive of the computer

 2.2 Custom installation can be customized to install on any drive letter of the computer

3Environment variables

 3.1 When installing, select Add Python 3.5 to PATH below, the path will be added automatically after the installation is completed

  

3.2 In Computer--> Properties--> Advanced--> Environment Variables--> path, add the path where python is located C:\python and C:\python\Scripts (the latter is used when PIP installs the library)

Success

 

 

5. Heaven-sacrifice ceremony (ps: The mystery of the programmer must also be carried out, otherwise there will be infinite BUG!)

 5.1 Directly enter in the cmd command: print("hello world")

  

 5.2 Create a new hello.py file, open it in IDLE mode and enter: print( "hello world") and then save and run it with F5 Cancel the option

I am just a py novice and just started learning. If there are any mistakes, please include them and provide guidance.

The above is the detailed content of Environment installation for beginners in Python. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template