blob: 57b288b1aeb74d5d1f79e3502560a31f6e651138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env python3
"""Flip upper to lower and lower to upper cases"""
import inkex
class FlipCase(inkex.TextExtension):
"""Change the case, cHANGE THE CASE"""
@staticmethod
def map_char(char):
return char.upper() if char.islower() else char.lower()
if __name__ == "__main__":
FlipCase().run()
|