[Chicago] Python & HTML together at last

Brian Herman brianherman at gmail.com
Tue Jul 20 15:33:21 CEST 2010


*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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20100720/6975ab67/attachment.html>


More information about the Chicago mailing list