+ 1

where to run python file on computer I have downloaded it interpreter and notepad++ I can't run it I have tried many ways but fail

17th Sep 2016, 3:33 PM
Urjasvi Suthar
Urjasvi Suthar - avatar
5 Answers
+ 2
Open a console (cmd on Windows), go to the directory of your file (with the command cd), then launch your script with py script_name.py.
17th Sep 2016, 4:07 PM
Zen
Zen - avatar
+ 2
Sure, you can edit your file with Notepad++, just save your file with the .py extension.
17th Sep 2016, 4:14 PM
Zen
Zen - avatar
+ 1
thank u
17th Sep 2016, 4:15 PM
Urjasvi Suthar
Urjasvi Suthar - avatar
+ 1
To edit and run your scripts, you can also use IDLE, a small Python IDE that is bundled with the interpreter.
17th Sep 2016, 4:31 PM
Zen
Zen - avatar
0
thank u...and can I open in notepad++
17th Sep 2016, 4:11 PM
Urjasvi Suthar
Urjasvi Suthar - avatar