程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

[Python basics 2022 latest] lesson 1 installation & environment configuration

編輯:Python

【Python Basics 2022 newest 】 The first lesson install & Environment configuration

  • summary
  • Self introduction.
  • Python The history of
  • Python Prospects
  • install
  • Environment configuration
  • PyCharm install
  • The first program

summary

Starting today , Xiaobai, I will lead you to learn Python Introduction to zero foundation . This column will explain + Practice mode , Let's get familiar with it Python The grammar of , application , And the basic logic of the code .

Self introduction.

My name is “ I'm Xiaobai ”, This year, 20. At present, he is an enterprise in New York trade CEO, CCF Algorithm , CV, etc. 4 Champion in all directions , A runner up . “Optimal scheduling…based on sac reinforcement learning” Thesis work .

Python The history of

Python It's an interpretive type , Object oriented language . By Guido - Van rosum (Guido van Rossum) On 1989 The invention of ,1991 Officially announced in .

Python Prospects

Everyone should have heard of this , Python In recent years, it has been used more and more widely , Is an essential skill .

Python Characteristics :

  • Grammatical simplicity
  • High readability
  • In the face of the object
  • Free and open source
  • Cross platform
  • Various expansion libraries

install

python Its official website

Click to download the latest version Python 3.10.5:


Select the corresponding version (win or mac)

install :

  • Remember to check add environment ( Options 2)

Environment configuration

windows Enter :

path=%path%;C:\Python

Manual configuration :

  • Computer -> attribute -> Advanced system setup

PyCharm install

PyCharm Official website

Download Community Edition :

Double click installation :

Create project :


newly build python file :

The first program

Code :

print(" Hello, motherland ")

Run the program :


Output results :


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved