How To Run A Python Application In Windows

Do you like this?

Suppose you have implemented or downloaded a python script "" which, for example, will print out a list of files/folders on your system. Now you want to execute the script under Windows environments. This will show you a step-by-step instruction.


There are 4 steps to do this which are listed below:

1) Install Python (I assume you have already done this step since you are looking for how to run a python script not how to write one)
Download Link: Python Download Page

Python Windows

2) Modify your windows PATH variable
If you don't know how to do this, please go down to see the screenshots.
3) Open a console window and change the directory to the folder containing the script "" or whatever file of your choice
4) Run: python
If it gives an error message "python is not recognized as an internal or external command, operable program or batch file.", please restart your computer and double check if you have done step 2 probably.

comments powered by Disqus