extension property

extension property

The filename suffix (including the period “.”), for instance “.doc”.

Definition:

@property
def extension(self):
    ...

See Also