Article ID: 323963 - Last Review: October 30, 2006 - Revision: 4.4 HOW TO: Install Python for a UNIX-to-Windows MigrationThis article was previously published under Q323963 On This PageSUMMARY
Python is a popular scripting language for Web sites that run under the UNIX platform. The Python language is cross-platform-aware. As a result, if you migrate Python scripts to Windows, you may only have to install the Python language interpreter. This article describes how to install the Python language interpreter and configure your Internet Information Services (IIS) server to use Python for Common Gateway Interface (CGI) scripts or Active Server Pages (ASP) processing. Install the ActivePython Distribution PackageTo obtain ActivePython software, visit the following Web site to download the ActivePython installer:http://activepython.lastdownload.com/
(http://activepython.lastdownload.com/)
NOTE: This version of the ActivePython installer is a special version of the Python language interpreter that is designed to work under Windows and that has additional Windows specific extensions.ActivePython version numbers use the same version numbering system of the main Python distribution package. Additionally, ActivePython gives a "build" number, which indicates the specific build (which typically includes new features, enhancements, and bug fixes). For example, the full ActivePython distribution package may be referred to as ActivePython 2.2.0 Build 221. Microsoft recommends that you always select the latest stable build of the ActivePython distribution package. Installing the ActivePython Software
Learn About PythonActivePython comes with a complete set of documentation in HTML Help format. The language is also accessible in a number of different ways. For migration purposes, the interactive session is the most useful form of Help documentation.Reading the DocumentationActivePython comes with a complete set of Python documentation, including some tutorials and guides, How-Tos and FAQ documents. To access the documentation, click Start, point to Programs, point to ActiveState ActivePython X.X (where X.X is the version number), and then click ActivePython Documentation. The documentation is in the form of an HTML Help document, of which you can browse, search, and bookmark different sections.Starting an Interactive SessionTo start Python in an interactive (command-line) session:
Starting PythonWin IDEIDE is a complete environment for building, testing, and debugging Python programs. To start IDE, click Start, point to Programs, point to ActiveState ActivePython X.X (where X.X is the version number), and then click PythonWin IDE.REFERENCESFor additional information about how to prepare servers for a migration from UNIX to Windows, click the article number below
to view the article in the Microsoft Knowledge Base:
323970
(http://support.microsoft.com/kb/323970/EN-US/
)
HOW TO: Prepare the Target Servers for a UNIX-to-Windows Migration
| Article Translations
|

Back to the top
