Windows上安装
在Windows上安装Python你有两个选择:
1、ActivePython。它包含了一个完整的Python版本,一个IDE(集成开发环境)。IDE由一个Python代码编辑器加上一些Windows上的扩展组成。这些扩展让你可以完整的访问Windows的特定服务,APIS(应用程序接口),Windows的注册表。
ActivePython是免费下载使用的,它不开放源代码。
ActivePython的安装步骤:
a.从http://www.activestate.com/Products/ActivePython/下载ActivePython
b.如果你的系统是Windows95,Windows98,Windows ME,你在安装ActivePython前先要下载 并安装Windows Installer2.0
c.安装ActivePython
d.安装完成后选择:开始->所有程序->ActiveState...->PythonWIN IDE,出现如下提示:
PythonWin 2.2.2 (#37, Nov 26 2002, 10:24:37)[MSC 32 bit (Intel)] on win32. Portions Copyright 1994-2001 Mark Hammond (mhammond@skippinet.com.au) -
see 'Help/About PythonWin' for further copyright information.
>>>
2、官方的Python installer。它也是免费下载的,并且开放源代码。
安装步骤:
a.从http://www.python.org/ftp/python/下载.msi形式的Python安装程序
b.双击Python-x.xxx.yyy.msi并安装
c.安装完成后选择:开始->所有程序->Pythonx.x->IDLE(Python图形用户界面),出现如下提示:
Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 1.0
>>>
|