How to Run Python Code in IDLE
How to run python code in IDLE?
1. Open IDLE (Integrated Development
Learning Environment)
2. Write below program
>>> print ( " Welcome to Tutorial Point Hub" )
3. Press enter
>>> print ( "Welcome to Tutorial Point Hub" )
Welcome to Tutorial Point Hub
4. Create a file from IDLE:
·
Open
IDLE
·
Go
to file
·
Select
new file
·
Write
below program
print ( " Welcome to Tutorial Point Hub" )
·
Save
the file with extension “.py” (“Hello.py”)
·
Run>>Run
Module (F5)
==============RESTART: D:/Hello.py =================
Welcome to Tutorial Point Hub
Comments
Post a Comment