Computer Science, asked by Anonymous, 6 months ago

What is script mode? What is the default extension of a Python file?​

Answers

Answered by VenkateshHotDrop
1

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.

Answered by beautymandal1978
4

Answer:

What is script mode?

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".

What is the default extension of a Python file?

Answer: . py : This is normally the input source code that you've written. . pyc : This is the compiled bytecode

Similar questions