blob: c1cc4e6dcb96483e726bdd8e920f222e84ef5c53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env python
"""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()
|