Answer:
In script mode, You write your code in a text file then save it with a . py extension which stands for “Python”.
Explanation:
A PY file is a program file or script written in Python, an interpreted object-oriented programming language. It can be created and edited with a text editor, but requires a Python interpreter to run. PY files are often used for programming web servers and other administrative computer systems.