Download Python from http://www.python.org/download/. For example, if we want to install Python on Windows system, Select "Python xxx Windows x86 MSI Installer". Save the file on your computer, or you may start install by click "Run" button instead. Click the downloaded file to start installation. You may accept all default setting and click next all the way to finish the Python installation. Add Python to the PATH environment. Right click "My Computer" -> "Properties" -> "Advanced" -> "Environment variables", then append the Python to the path. For Example, if Python is installed in "C:/python", append ";C:/python" to the path. You now can start Python from the windows shell. Start the DOS command line window (click here for how), to start Python, type python:
Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2014, 00:03:43) [MSC v.1600 32 bit (intel)] on win32 Type "help", "copyright", "credits", or "license" for more information. >>> _To use Python interactively:
>>> print ("hello world!")
hello world!You may use the upward and downward arrow to recall and reexecute previous commands. To exit the python interactive programming environment:
C:\>To run a Python script like "test.py", type:
C:\>python test.pyPython editors include Python Tools for Visual Studio, Eclipse with PyDev, or just Notepad++.