[PyKDE] Controlling korganizer from python
Jim Bublitz
jbublitz at nwinternet.com
Mon Oct 10 23:11:40 BST 2005
On Monday 10 October 2005 14:29, Dick Kniep wrote:
> Hi list,
>
> This is my first post here, so I am a newbee on python kde programming. I
> do know my way around python.
> We have built a big system with Python, wxPython and postgresql. Now we
> would like to use kontact as an email/agenda, but I need a two-way syncing
> of the appointments made either in our application, or in korganiser. I
> have heard about dcop, and would like to use it, but I have looked in the
> lists, but could not find any example, or even documentation. It should be
> there, but probably I am not looking in the right places. So if anyone
> could give me a push in the right direction I would be very happy.
If you were going to use PyKDE, there is some documentation in the tarball at
PyKDE/doc/dcopext.html and examples in PyKDE/examples. However, if you've
already done your UI with wx, your system will get a lot bigger if you use
PyKDE on top of it. I've never tried mixing and matching PyKDE and wx.
You can also look at (quoting from my docs) "pydcop.py and pcop.cpp written by
Torben Weis and Julian Rockey. It's available in the dcoppython/ section of
the kde-bindings source code, and can be used to implement DCOP communication
without using PyQt or PyKDE." That's what the PyKDE DCOP stuff is based on
and you should be able to find that stuff in the kde-bindings source code
tarball (from ftp.kde.org or mirrors) in the subdir indicated.
Besides DCOP, PyKDE wouldn't offer you much more for working with korganizer
and you can do DCOP without PyKDE.
Jim
More information about the PyQt
mailing list