Set up Python on Windows 8.1
1. Visit the official Python download page and grab the Windows installer. Choose the 32-bit version.
2. Run the installer and accept all the default settings, including the “C:\Python34″ directory it creates.
3. Next, set the system’s PATH variable to include directories that include Python components and packages we’ll add later. To do this:
- Open the Control Panel (you can find it using Search on the Charms Bar).
- In the Control Panel, search for and open System.
- In the dialog box, select Advanced System Settings.
- In the next dialog, select Environment Variables.
- In the User Variables section, edit the PATH statement to include this (if there is no PATH variable, click NEW to create one):
4. Now, you can open a command prompt (Charms Bar | Search | cmd) and type:
That will load the Python interpreter:
Python 3.4.1 etc etc Type "help", "copyright", "credits" or license for more information. >>>
Because of the settings you included in your PATH variable, you can now run this interpreter — and, more important, a script — from any directory on your system.
Press Control-Z plus Return to exit the interpreter and get back to a C: prompt.
Set up useful Python packages
setuptools and pip are installed with python 3.4.1 - they will cover most of your installation needs, so go ahead and add pip. Mechanize, Requests and BeautifulSoup are must-have utilities for web scraping, and we’ll add those next:
C:\> pip install mechanize C:\> pip install requests C:\> pip install beautifulsoup4
C:\> pip install csvkit
You’re now set to get started using and learning Python under Windows 8.1. If you’re looking for a handy guide, start with the Official Python tutorial.
BUT FIRST, … install Eclipse IDE to support working in Python.
Eclipse & JVM