summaryrefslogtreecommitdiffstats
path: root/dcoppython/test/test2.py
diff options
context:
space:
mode:
Diffstat (limited to 'dcoppython/test/test2.py')
-rw-r--r--dcoppython/test/test2.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/dcoppython/test/test2.py b/dcoppython/test/test2.py
index 1a56f917..36456848 100644
--- a/dcoppython/test/test2.py
+++ b/dcoppython/test/test2.py
@@ -6,23 +6,23 @@ app = pydcop.anyAppCalled( "kspread" );
res = app.default.getDocuments()
-print res
-print res[0].appname
-print res[0].name
+print(res)
+print(res[0].appname)
+print(res[0].name)
m = res[0].map()
-print m.tableNames()
+print(m.tableNames())
x = m.table('Sheet2')
if x:
- print x
- print "===================="
- print x._name
- print "===================="
- print x._name()
- print "===================="
-else: print "Could not find sheet called Sheet2"
-
-print "done"
+ print(x)
+ print("====================")
+ print(x._name)
+ print("====================")
+ print(x._name())
+ print("====================")
+else: print("Could not find sheet called Sheet2")
+
+print("done")