1 2 3 4 5 6 7 8 9 10 11 12 13 14 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()