Python IDLE

 Python IDLE

IDLE is Python’s Integrated Development and Learning Environment...Learn more.


how to open python idle?

Create a new text file.

Creating text file for Python



Rename the text file with '.py' extension. And that's the extension for python files.

Renaming file for Python

After renaming, your file look something like this.

Python file

Right click on the file, click on 'Edit with IDLE', and then click on another option which will come after that.

How to open Python IDLE

After that you will get a window something like this 👇 . Let's test working of our IDLE, we will test just by printing 'Hello world'.

Python IDLE

To execute the program, first save the file and then press 'F5'. 

Python shell



Conclusion

Learned how to open and execute program on Python IDLE.

If you have any query, feel free to ask.

إرسال تعليق

If you have any query, feel free to ask.

Post a Comment (0)