Anth's Computer Cave Tutorials

Install Python

20th May 2015

Today I will show you how to install Python on Windows.


If you are unsure whether you already have python on your system go to My Computer and look on your C: drive.

If you do not have a folder named python in the list then you most likely do not have Python installed.

Click here to Download Python 3.4 for 32-bit Windows or here for 64-bit Windows. If you are unsure if your Windows is 32 or 64 bit click here to see how you can find out.

Choose to save the download wherever you wish, then double-click the downloaded file to start the installation.

Select Run in the confirmation box.

You should now the the following screen.

Select Install for all users then next.

I recommend leaving the default option for the destination directory. Select next.

You should make some changes in the Customize Python window shown below. You can add these features later but It can be complicated so it is easier to just add them all now.

Right-click on each of the options in turn and select Entire feature will be installed on hard drive. Select next.

The installation should not take long.

When the installation is done, go to Start/All Programs.

You should see Python there with the rest of your programs. To open a Python shell, select Idle(Python GUI).

In this shell you can perform basic python calculations and watch your scripts run.

To open a Python script, navigate to your script, right-click and select Edit with Idle.

In this example I am opening a script I wrote earlier, pwa.py, a simple script to generate and guess passwords.

You can find out more about this password script here

You should now see the Idle editor containing your script.

Select Run then Run Module. If you have not saved the script since making changes you will be asked to save it now.

If your script is correctly written you should see a new Idle shell with your script running.

Here you can see my password script generating and guessing random 4-character passwords

Where to from here?

That was a very brief description of Python and its IDLE programming environment. In the next article I'll give a more in-depth overview of how IDLE works.

Once you understand IDLE I'll cover some Python basics and tell you where you can find resources and help.

Cheers

Anth


Previous

Next article:Using Idle



_____________________________________________


Comments

Leave a comment.

There are currently no comments for this article.

Leave a comment on this article