extension property

extension property

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

Definition:

@property
def extension(self):
    ...

See Also