1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import pcop import pydcop #res = pcop.dcop_call( "kspread", "default", "getDocuments", () ) res = pydcop.anyAppCalled("kspread").default.getDocuments() print(res) print(res[0].appname) print(res[0].name) m = res[0].map() print(m.tableNames()) print("done")