I have the Python interpreter installed.
How do I run the .py file?
Please help.

Recommended Answers

All 3 Replies

Double click it :/
Or copy the file to your python directory, and import your script
Or if on windows: python C:\pathtoscriptnamehere.py in a command prompt
Or a number of other ways
Also:
R.T.F.M.

From a editor is the way most off us do it.
Pyscripter er god for windows.
http://code.google.com/p/pyscripter/

Linux is SPE er bra.
sudo apt-get install spe

For IDLE.
Fil->new window
Write your code and run it(F5)

You need to read a little this to basic,and everyone should at lest figurer this out.
http://www.ibiblio.org/swaroopch/byteofpython/read/source-file.html
http://www.youtube.com/watch?v=4Mf0h3HphEA&feature=SeriesPlayList&p=EA1FEF17E1E5C0DA

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.