[Chicago] Python & HTML together at last

Brian Ray brianhray at gmail.com
Tue Jul 20 16:21:00 CEST 2010


Hey Brian, it's Brian:

That is pretty interesting. And thanks for not cursing ;)

I always wondered about other client side implementations of Python and
where they stand. Wether it be Gestalt, Silverlight, MozPython,  some
Mozilla attempts...

Speaking of Mozilla, Ian posted a while back this article
http://blog.ianbicking.org/2010/03/10/joining-mozilla/ where someone
comments, "Congratulations, Ian! Now I can see Python in the browser
happening :)"

Not sure if that is a joke or not; however, I think the IronPython way may
be the only real way besides building your own browser plugin (which I have
done btw and it was a real pain and was only suitable for demonstration and
for those who do not mind if someone else erases your hard drive).

-- The Other Brian



On Tue, Jul 20, 2010 at 8:33 AM, Brian Herman <brianherman at gmail.com> wrote:

> *http://ironpython.net/browser/gettingstarted.html*<http://ironpython.net/browser/gettingstarted.html>
> Now you can use spam bacon eggs and spam I mean python in your html
> inline.
> Example:
>
> <script type="text/python">
>   def button_onclick(s, e):
>       window.Alert("Hello from Python!")
>   document.button.events.onclick += button_onclick
>
>
> </script>
>
>
> You don't need a server that supports python.
> Just a client that supports iron python.
> Yay!
>
>
> Thanks,
> Brian Herman
>
> brianjherman.com
> Research Assistant
> University Of Illinois at Chicago
> brianherman at acm.org
> Consultant
> University of Chicago
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20100720/9672779b/attachment.html>


More information about the Chicago mailing list