[PyKDE] How to use "kdialog"

Thorsten Kampe thorsten at thorstenkampe.de
Tue Sep 21 20:10:14 BST 2004


I want to integrate some simple message boxes in a Python script. Of
course I could use EasyGUI (www.ferg.org) but the native KDE look is
much nicer.

So I installed PyKDE but I couldn't figure out how to code this simple
task. Could anyone tell me the equivalent Python code to
'"kdialog --msgbox "Hello world"'? using the KDE bindings?

Or would "os.system('kdialog --msgbox "Hello world"')" be better
(because it doesn't rely on the KDE bindings)?

Are there any advantages for using the bindings instead of the system
call?

Thanks in advance,
Thorsten




More information about the PyQt mailing list