blob: 13043fd5b67e555efc3cf5c06950b97c843cef0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/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()
|