mutapath.Path.suffix

property Path.suffix: str[source]

The final component’s last suffix, if any.

This includes the leading period. For example: ‘.txt’