QuestionQ56

VerifiedFile Processing and Communicating with a Program’s Environment

Select the correct statement regarding the __name__ attribute.

Explanation

In Python, a class object’s __name__ attribute is the string containing that class’s name. It is not the per-object attribute dictionary and is not inherently an instance attribute. Python data model documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!