Computer Science, asked by hanaahsaadkhan, 1 year ago

Difference between script mode and interactive mode in python.

Answers

Answered by RDEEP90
10

Python has two basic modes: script and interactive. The normal mode is the mode where the scripted and finished .py files are run in the Python interpreter. Interactive mode is a command line shell which gives immediate feedback for each statement, while running previously fed statements in active memory.

Answered by Anonymous
3

Answer:

Explanation:

The basic differences between these two modes are as follows:

Interactive mode is used when an user wants to run one single line or one block of code.

Script Mode, on the other hand , is used when the user is working with more than one single code or a block of code.

Similar questions