Which one of the following is the correct extension of the Python file?
a. .py
b. .python
c. .p
d. None of these
Answers
Answered by
2
a. .py
.py is the correct extension of the Python file.
Answered by
0
" .py " is the correct extension of the Python file.
About extension of the Python file :
- A .PY file is a program or script written in Python, which is an interpreted object-oriented programming language.
- It may be written in a text editor and edited, but it must be run using a Python interpreter. PY files are often used to program web servers and other administrative computer systems.
- .PY scripts may be opened and edited with any text or source program editor. Syntax highlighting and program editing capabilities in source program editors make it simple to analyze and edit Python programs.
Similar questions