You are on page 1of 1

www.nammakalvi.

org

STEPS TO RUN (EXECUTE) A PYTHON PROGRAM


(Method for Windows Vista OS to latest version)

 Download a Software Python 2.7.11 Or Latest version from


www.python.org
 Install the Software in OS Drive (C:/) on the time of install
you must Choose the Option For All User Optional button .
 Next Go to Python Software install Drive and Choose the Path
as C:\Python27\python.exe (Copy the Path)
 After that Right-click on (My) Computer and Choose
Properties.
 On that Choose the Advanced system settings option.
 Next Click on the Environment Variables… Button.
 Then Choose the Path option from System variables list box
option and click the Edit button. And paste or type the path
as  ; C:\Python27\python.exe at the end of the Textbox.
 Next We can Starts to Write a program in Text Editors (Such
as Notepad, Wordpad, Notepad++, …….., Etc). (or) Otherwise
click on Start  Python2.7IDLE(Python GUI) And
FileNew or Ctrl+N then Type the program.
 Next Save (Save As) with the extension as *.py, *.pyw
(Filename.py).
 For execute (Run) the program PressF5 Key in the Keyboard
or Click on Run Run Module.
 For close the Window FileClose or Alt+F4. Or Ctrl+Q for
close all Window of Python.

www.nammakalvi.org

You might also like