diff options
Diffstat (limited to 'share/extensions/text_uppercase.py')
-rwxr-xr-x | share/extensions/text_uppercase.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/share/extensions/text_uppercase.py b/share/extensions/text_uppercase.py new file mode 100755 index 0000000..9b6fb6e --- /dev/null +++ b/share/extensions/text_uppercase.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +"""Convert text to upper case""" + +import inkex + + +class Uppercase(inkex.TextExtension): + """To upper case""" + + def process_chardata(self, text): + return text.upper() + + +if __name__ == "__main__": + Uppercase().run() |