From da9cd0c056c8275033fca84a1c8d49a8edb0c8ee Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 11 Nov 2022 17:41:30 +0900 Subject: superkaramba: convert examples to python3. Signed-off-by: Michele Calgaro --- superkaramba/examples/unicode/unicode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'superkaramba/examples/unicode') diff --git a/superkaramba/examples/unicode/unicode.py b/superkaramba/examples/unicode/unicode.py index 13d1136..6e0447a 100644 --- a/superkaramba/examples/unicode/unicode.py +++ b/superkaramba/examples/unicode/unicode.py @@ -9,7 +9,7 @@ import karamba #this is called when you widget is initialized def initWidget(widget): - text=u""" + text="""

UNICODE Example

Greek:

\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0 @@ -113,4 +113,4 @@ def widgetMouseMoved(widget, x, y, button): pass # This will be printed when the widget loads. -print "Loaded Karamba Unicode Test" +print("Loaded Karamba Unicode Test") -- cgit v1.2.1