[Tutor] howto call DOM with python

Hugo González Monteverde hugonz-lists at h-lab.net
Wed Feb 28 22:40:59 CET 2007

I too wish it worked. In javascript, it works because the browser has a 
Javascript implementation. There's no stock browser with a Python 
implementation, and I've looked for any client side implementation with 
no success.


Ismael Farfán Estrada wrote:
> hi there
> I was wondering wheter someone knows how to use python to write
> a client-side scripts like if it were java, I want to get someting like
> this working
> <html>
> <script type="text/python">
> window.alert("python")
> </script>
> </html>
> but nothing happens. I don't know javascript but this code works
> if I put javascript instead of python, I've also tried with pythonscript
> python-source, etc
> hope you can help me, I'm using GNU/Suse, Opera, and Firefox for test
> _________________________________________________________________
> El mejor destino, con los mejores contenidos http://www.prodigy.msn.com
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

More information about the Tutor mailing list