+ 2

How to execute a program in python ?

I downloaded python 3.x and tried to write a hello world program but when I pressed the run button, it didn't work, also there are different types of files and I'm confused where to write the code in. please help me.

2nd Mar 2018, 8:43 AM
shubham p
shubham p - avatar
3 Answers
+ 2
Perhaps thats because you misclicked something. Once you open your .Py file in python IDLE press f5.
2nd Mar 2018, 10:01 AM
Samces
+ 1
I recommend you install the Community version of PyCharm. That's imo the best IDE. There you can write and run all your python programs.
2nd Mar 2018, 9:18 AM
David Handl
David Handl - avatar
+ 1
IDLE isn't bad for nailing basics, it's simple and effective no needless functions or ui elements, afterwards use pycharm or some other IDE as IDLE has a poor support for many libraries and extra functions will help to manage bigger more complex projects.
2nd Mar 2018, 9:43 PM
Kārlis Zauers
Kārlis Zauers - avatar