How to make a program run in python??
If you are using IDLE in windows, use CTRL+N to open a new window. Write your script in that window, then press F5 to run the program in the shell.
What operating system are you using and what are you using to create your python program? If you are using the standard IDLE, follow TuringTest's answer. We need a little more information to accurately help you. On that note, there are a few ways to run a python program. You can run a py program through the IDLE, CommandLine or on windows create a py script and name the extension .pyw, which then all you have to do is double click the file to make it run. Also, you can run python programs the same way as on Linux but to be able to double click a python program to run you need to create a .desktop file and click on it to make it run. Also, you can run python programs on start up too. On that note, there are many ways to run a python program, what method are you looking to achieve?
Join our real-time social learning platform and learn together with your friends!