GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Python-1/Article/python1/Installation.md at master · yugithub/Python-1

Expand file tree

/

Installation.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
13 lines (7 loc) · 1.3 KB
/

Installation.md

Copy path

File metadata and controls

13 lines (7 loc) · 1.3 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

二、Python 的安装

因为 Python 是跨平台的,它可以运行在 Windows、Mac 和各种 Linux/Unix 系统上。目前,Python 有两个版本,一个是 2.x 版,一个是 3.x版,这两个版本是不兼容的。本草根安装的是 3.6.1 版本的。

至于在哪里下载,本草根建议最好直接官网下载啦,随时下载下来的都是最新版本。官网地址:https://www.python.org/

本草根是 windows 系统,下载完后,直接安装,不过这里记得勾上Add Python 3.6 to PATH,然后点 “Install Now” 即可完成安装。如果没有勾上这个,就必须要自己配置环境变量了,至于如何配置,跟 JAVA 的差不多,具体可以 Google 一下。

Python安装.png

安装完成后,打开命令提示符窗口,敲入 python 后,出现下面的情况,证明 Python 安装成功了。你看到提示符 >>> 就表示我们已经在 Python交互式环境中了,可以输入任何 Python 代码,回车后会立刻得到执行结果。

运行python.png

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.