blob: 1a56f9173e25a84b5388b115dba14fff5b29bfb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import pcop
import pydcop
app = pydcop.anyAppCalled( "kspread" );
res = app.default.getDocuments()
print res
print res[0].appname
print res[0].name
m = res[0].map()
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"
|