[XML-SIG] XUL and Python
thal
thal@kahala.net
Wed, 11 Sep 2002 13:47:31 -1000
Hello,
having read this excellent article on Mozilla and XUL:
http://salon.com/tech/feature/2002/09/10/browser_wars/print.html
I found this page on Python and XUL:
http://www.mozilla.org/docs/xul/xulnotes/xulnote_oven.html
which starts with this example:
>>> from XUL import *
>>> myXWin = XWindow('XUL Pie', 100, 200)
>>> myXT1 = XText('Hello World!', bclass='marquee')
>>> myXB1 = XButton('Quit', oncommand='window.close()')
>>> myXWin.Bake(myXT1, myXB1)
>>> myXWin.Serve()
I'm using Python 2.2, and when I try the first line I get
>>> ImportError: No module named XUL
I've tried looking for this XUL module, but can't find it.
Can anyone point me in the right direction?
Thanks.