Nasrul Hazim Bin Mohamad

Python: Setting up in Windows 7



  1. Download latest 2.x at
  2. Set Environment path: C:Python27;C:Python27Libsite-packages;C:Python27Scripts;
  3. Install Setuptools:
    1. Download the script
    2. Open CMD
    3. Go to the script directory
    4. Run the script: python
    5. Exit once done (Ctrl + Z, then Enter)

Test your installation by open up CMD, and type in python. You should see something similar to the screen shot below.


Following are optional:

  1. Install pip: C:> easy_install pip
  2. Install the followng using pip
    1. Mechanize: C:> pip install mechanize
    2. BeatifulSoup4: C:> pip install beautifulsoup4
    3. CSVKIT: C:> pip install csvkit



One Response to Python: Setting up in Windows 7

  1. Like it! portable version also available for windows –

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see

thirteen − twelve =