Hi all,

I am using khtml in my PyKDE app ( which rocks btw ) , two minor problems 
appear, I have to use stuff like

document = self.htmlPart.document()
document.getElementsByTagName(DOM.DOMString("input"))

would it be possible to write it like
document = self.htmlPart.document()
document.getElementsByTagName("input")

which means a auto-conversion between DOMString & str. 

Also is there a way to handle C++ exceptions in Python ? Because per DOM spec 
khtml throws exceptions in DOM code which results in a crash because I can't 
handle it as a Python exception.

Regards,
ismail

-- 
An eye for eye will make the whole world blind -- Gandhi

Attachment: pgpQBBKfwenNq.pgp
Description: PGP signature

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to