Computer Science
A python module has …………… extension.
- .mod
- .imp
- .py
- .mpy
Python Libraries
2 Likes
Answer
.py
Reason — A Python module has a .py extension.
Answered By
1 Like
Related Questions
Which of the following random module functions generates an integer ?
- random()
- randint()
- uniform()
- all of these
Which file must be a part of a folder to be used as a Python package ?
- package.py
- __init__.py
- __package__.py
- __module__.py
Which of the following is not a function/method of the random module in Python ?
- randfloat()
- randint()
- random()
- randrange()
Fill in the blanks:
The file _________ must be the part of the folder holding library files and other definitions in order to be treated as importable package.