InterviewSolution
Saved Bookmarks
| 1. |
EXPLAIN THE SCRIPT MODE IN PHYTHON ... WITH AN EXAMPLE ... |
|
Answer» Script MODE is the way to go in such CASES. In script mode, You WRITE your code in a text file then save it with a . py extension which stands for "Python". ... After writing your code, you can run it by clicking "Run" then "Run Module" or simply press F5.Interactive mode is used when an user wants to run one single line or one block of code. It runs very quickly and gives the output instantly. Script Mode, on the other hand , is used when the user is working with more than one single code or a block of code. It takes more time to COMPILE. |
|