[XML-SIG] XUL and Python

landauer@got.net landauer@got.net
Thu, 12 Sep 2002 17:36:58 -0700


> 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 *
 [...]

> I've tried looking for this XUL module, but can't find it.

Near the end of the article to which you referred, it says:

> In the meantime, the source code is available __here__. To use
> the module, copy the source code into a file called XUL.py and
> put it in your PYTHONPATH, start the interpreter, and import
> the module's classes. 

"__here__" is a hyperlink that points to the following URL:

  http://www.mozilla.org/docs/xul/xulnotes/XUL.py.txt

But do note that the XUL article was written at least 2 and a
half years ago, and PyXML didn't really exist 2.5 years ago.  I
don't know enough of either XUL or the current PyXML stuff
to know how easy it would be to do this, but I suspect that PyXML
could help someone to write a much better XUL.py today.



-=-=-=-

food. shelter. clothing. net.         Got.net - The Internet Connection, Inc