diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-03 15:29:41 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-07 22:14:56 +0900 |
| commit | 4ce11cc30df1805459a615960fdec204a975548a (patch) | |
| tree | 084f1e1fa404bdf0d082b1a58acf392b5d177326 /examples/uitdemdi.py | |
| parent | 065f41b4908b11278d4334e8c85150ec0fd4a9f6 (diff) | |
| download | pytde-4ce11cc3.tar.gz pytde-4ce11cc3.zip | |
Drop python2 support.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() |
