file_name property

file_name property

The filename attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to the empty string. It represents the absolute URL of the script in which the error originally occurred.

Definition:

@property
def file_name(self):
    ...
@file_name.setter
def file_name(self, value):
    ...

See Also