Solved

how do I run this py file?

Posted on 2013-01-15
1
524 Views
Last Modified: 2013-01-16
What do I need to open a python script, specifically this one:

http://code.google.com/p/hash-identifier/source/browse/trunk/Hash_ID_v1.0/Hash_ID.py?r=2

I have a windows 7 laptop, how do I run that py file? Is it via the command prompt?

I am totally new to python. Can you give me an idiots guide on how to run this script?
0
Comment
Question by:pma111
1 Comment
 
LVL 14

Accepted Solution

by:
BlueCompute earned 500 total points
ID: 38780895
You'll need to install the Python interpreter/runtime, from here:
http://www.python.org/getit/

Then, to make things easy, add python to your PATH:
http://docs.python.org/2/using/windows.html#setting-envvars

Then download the python file, open a command line at the folder it's in, and run:
python <name-of-file>

Open in new window

eg:
python hash_identifier.py

Open in new window

0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now