diff options
Diffstat (limited to 'examples/uitdemdi.py')
-rw-r--r-- | examples/uitdemdi.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/uitdemdi.py b/examples/uitdemdi.py index 144d7f0..5e3509a 100644 --- a/examples/uitdemdi.py +++ b/examples/uitdemdi.py @@ -35,7 +35,7 @@ from tdeui import KDockWidget, TDEListBox, KStdAction try: from tdemdi import KMdi, KMdiMainFrm, KMdiChildView except (ImportError, ): - print 'Exception importing KMDI; check your PyKDE installation' + print('Exception importing KMDI; check your PyTDE installation') sys.exit(1) @@ -186,16 +186,16 @@ class KmdiExample(KMdiMainFrm): if __name__ == '__main__': - aname = 'PyKDE KMDI Sample' - desc = 'A Simple PyKDE KMDI Sample' - ver = '1.0' + aname = b'PyTDE KMDI Sample' + desc = b'A Simple PyTDE KMDI Sample' + ver = b'1.0' lic = TDEAboutData.License_GPL - author = 'Troy Melhase' - authormail = 'troy@gci.net' + author = b'Troy Melhase' + authormail = b'troy@gci.net' - about = TDEAboutData(aname, aname, ver, desc, lic, '%s (c) 2004' % authormail) - about.addAuthor(author, 'hi, mom!', authormail) - about.addAuthor ('Jim Bublitz', 'For PyKDE', 'jbublitz@nwinternet.com') + about = TDEAboutData(aname, aname, ver, desc, lic, b'troy@gci.net (c) 2004') + about.addAuthor(author, b'hi, mom!', authormail) + about.addAuthor (b'Jim Bublitz', b'For PyTDE', b'jbublitz@nwinternet.com') TDECmdLineArgs.init(sys.argv, about) app = TDEApplication() mainWindow = KmdiExample() |