diff options
Diffstat (limited to '')
-rwxr-xr-x | share/extensions/text_uppercase.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/extensions/text_uppercase.py b/share/extensions/text_uppercase.py new file mode 100755 index 0000000..9f1539e --- /dev/null +++ b/share/extensions/text_uppercase.py @@ -0,0 +1,12 @@ +#!/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() |