CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Difference between interactive mode and script mode.


Open in App
Solution

Script Mode, is used when the user is working with more than one single code or a block of code. Interactive mode is used when an user wants to run one single line or one block of code. If one needs to write a long piece of Python code or if the Python script spans multiple files, interactive mode is not recommended. In script mode, You write your code in a text file then save it with a .py extension.


flag
Suggest Corrections
thumbs-up
117
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Mode
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon