What is the difference between interactive mode and script mode in python?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

What is the difference between interactive mode and script mode in python??

In interactive mode ,instructions are given in front of python prompt (>>>)in python shell. Python carries out the given instruction and shows the result there itself. In script mode,Python instructions are storef in a file with .py extension and are executed together in one go as a unit.The saved instructions are known as python script or python program.

2nd Feb 2019, 2:12 PM
shivangi
shivangi - avatar
4 Answers
+ 2
nice answer of your own
25th Apr 2019, 9:29 AM
Rose
0
Nice answer
29th Jul 2019, 1:44 PM
ANIKET KUNDU
ANIKET KUNDU - avatar
0
Vrey good and.
10th Dec 2019, 11:05 AM
chandrashekhar sahu
- 2
Nice but it's from book.... Need descriptive details
14th Oct 2019, 3:31 PM
Miss Hamster Devilgirlxxx
Miss Hamster Devilgirlxxx - avatar