I'm probably missing something really obvious, but I downloaded the Python 2.72 release, and now I can't figure out what to do. I've tried googleing it but everything says to just install it. Is that install the setup.py file? If it is, how do I run a python file if I don't have python installed? By the way I'm on Windows 7 if that helps at all.
Thanks for your time,
Ulxlx

Recommended Answers

All 3 Replies

http://docs.python.org/tutorial/

basically there are 2 ways to run a python file. Via command line interface or via python's built in IDLE. Python will be installed at c:\python27. At c:\python27\lib you will find python's standard library, a bunch of .py files that give the user python's famed functionality. If you right click any .py/.pyw file there will be an option to 'Edit with IDLE' which will bring up the the code editor. From there pressing f5 will run the code.

Thanks guys! Apparently I was downloading the wrong file.

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.