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

Popular Post

Root Cause Analysis in Testing | Easy way to explain in interview about RCA

Agile Testing Interview Questions and Answers | Easy way to explain the Agile Testing Interview Questions.

Data Types in Python with explanation

Static and Non Static Method in Python | Class Method in Python

OOPS in python | Object Oriented Programming Languages and Systems | Static and Non Static in Python

Python IDEs and Code Editor | PyCharm

What is the difference between client-side validation and server-side validation?

Operators in Python and Types of Operators in Python

How to Download Python ?