Open In App

Python | Namespaces and Scope Quiz | Question 15

What is the purpose of the __file__ attribute in Python?

(A)



To get the name of the module

(B)



To get the path of the module’s source file

(C)

To get the creation date of the module

(D)

To get the size of the module

Answer: (B)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :
Uncategorized