mutapath.Path.swapcase

Path.swapcase()[source]

Convert uppercase characters to lowercase and lowercase characters to uppercase.