Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how do I run this py file?

Posted on 2013-01-15
1
Medium Priority
?
535 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
BlueCompute earned 2000 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

730 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