在Windows操作系统上安装Python 2.7.3版本

Installing Python 2.7.3 version on Windows operating system

在Windows操作系统上安装Python 2.7.3版本

For installing Python first we need to download Python's latest version from URL

要首先安装Python,我们需要从URL下载Python的最新版本

" www.python.org "

“ www.python.org”

You can also get information on Python scripting language from the above mentioned web site.

您还可以从上述网站获取有关Python脚本语言的信息。

Let's go and start installing Python on Windows Operating System.

让我们开始在Windows操作系统上安装Python。

The below steps will show how to download and install Python and test by printing message on it.

以下步骤将显示如何下载和安装Python并通过在其上打印消息进行测试。

1) Go to www.python.org 

1)前往www.python.org

在Windows操作系统上安装Python 2.7.3版本

2) Click on Download tab from the left side of the web page:

2)单击网页左侧的“下载”选项卡:

在Windows操作系统上安装Python 2.7.3版本

3) There will be two production version

3)将有两个生产版本

Python 2.7.3 and

Python 2.7.3

Python 3.2.3.

Python 3.2.3。

Choose as per your requirement.

根据您的要求选择。

I am going to choose

我要选择

Python 2.7.3 (Windows installer). As my system is 32-bit Operating System.

Python 2.7.3(Windows安装程序) 。 由于我的系统是32位操作系统。

Click on

点击

“Python 2.7.3 Windows installer”.

“ Python 2.7.3 Windows安装程序”

Once clicked ,it will ask you to save to a particular location but in my case as I am using Google Crome browser so it will automatically download to path

单击后,它将要求您保存到特定位置,但就我而言,因为我使用的是Google Crome浏览器,因此它将自动下载到路径

“C:\Documents and Settings\slobaray\My Documents\Downloads” as this is the default directory for Google Chrome browser to download files.

“ C:\ Documents and Settings \ slobaray \ My Documents \ Downloads”,因为这是Google Chrome浏览器下载文件的默认目录。

Go to the downloaded path and double click on the file i.e. downloaded

转到下载路径并双击文件,即已下载

“python-2.7.3.msi” for installing Python.

“ python-2.7.3.msi”用于安装Python。

在Windows操作系统上安装Python 2.7.3版本

Click on “Run”

点击“运行”

在Windows操作系统上安装Python 2.7.3版本

4) Then we will be prompt by for choosing the setup for all users or only for the user i.e. installing Python product as shown below and I am choosing the default for all users:

4)然后,我们将提示您为所有用户或仅为该用户选择安装程序,即如下所示安装Python产品,而我为所有用户选择默认设置:

在Windows操作系统上安装Python 2.7.3版本

5) Then it prompts you to choose the location where you want to install Python like as shown below:

5)然后提示您选择要安装Python的位置,如下所示:

在Windows操作系统上安装Python 2.7.3版本

Click next or change the path and go “Next”.

单击下一步或更改路径,然后转到“下一步”。

Then it tells you what features will be installed on your system:

然后,它告诉您系统上将安装哪些功能:

在Windows操作系统上安装Python 2.7.3版本

6) Go “Next”

6)转到“下一步”

在Windows操作系统上安装Python 2.7.3版本

Installation will start and it might take few minutes to get installed.

安装将开始,安装可能需要几分钟。

在Windows操作系统上安装Python 2.7.3版本

7) Once installed you will be prompted by saying “Completed the Python 2.7.3 Installer” and then you can click on “finish” to get this completed:

7)安装完成后,系统会提示您“完成Python 2.7.3安装程序”,然后单击“完成”以完成此操作:

在Windows操作系统上安装Python 2.7.3版本

8) Once the installation process get completed, go to

8)安装过程完成后,请转到

“Start” -->

“开始” ->

“All Programs” -->

“所有程序” ->

“Python 2.7 -->

“ Python 2.7- >

IDLE(Python GUI) : to verify if your installation was successful or not.

IDLE(Python GUI) :验证安装是否成功。

在Windows操作系统上安装Python 2.7.3版本

9) Then another window will open as like below:

9)然后将打开另一个窗口,如下所示:

在Windows操作系统上安装Python 2.7.3版本

 So now we will simply print

所以现在我们只需打印

“Hello Sloba” to check if my Python works properly or not as shown below:

“ Hello Sloba” ,检查我的Python是否正常运行,如下所示:

在Windows操作系统上安装Python 2.7.3版本

Now you can see we are able to print

现在您可以看到我们可以打印

“Hello Sloba”

“你好斯洛巴”

So our installation is successfully completed.

至此,我们的安装成功完成。

Now you can start exploring Python and start programming.

现在,您可以开始探索Python并开始编程。

翻译自: https://www.experts-exchange.com/articles/10275/Installing-Python-2-7-3-version-on-Windows-operating-system.html