可以通过anaconda安装python(http://kaiwu.city/index.php/python),操作极为简单;但是anaconda程序很大,而且其包含的python及python拓展模块library不是最新的版本。

Anaconda Logo


Python Logo PNG

直接安装python,并以微软的开源软件 Visual Studio Code(https://code.visualstudio.com/作为IDE是不错的选择。

Python Logo PNG

微软提供了详细的安装指南

https://docs.microsoft.com/en-us/learn/modules/python-install-vscode/

Get started with Python in Visual Studio

Get started with learning Python by installing and configuring the tools you'll need to build real applications.

Learning objectives

By the end of this module, you'll be able to:

  • Install Python 3, if needed.
  • Install and configure Visual Studio Code and extensions on your computer.
  • Create a Python file.
  • Write and run Python code in Visual Studio Code.

Prerequisites

  • Ability to install programs locally.
  • Basic familiarity with programming concepts.

1.安装python

访问python官网,下载安装程序

https://www.python.org/downloads/

 

 

 

 

 

 

 

2.安装VScode

https://code.visualstudio.com/

 

 

3.安装VScode的拓展程序

(1)code runner

(2)python

(3)jupyter notebook

 

4.以vscode作为IDE,新建、编辑、运行python程序