A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-June/090106.html below:

[Python-Dev] CPython in the web browser under Native Client

[Python-Dev] CPython in the web browser under Native Client [Python-Dev] CPython in the web browser under Native Clienttav tav at espians.com
Wed Jun 17 16:13:29 CEST 2009
Hey Mark,

> http://lackingrhoticity.blogspot.com/2009/06/python-standard-library-in-native.html

Really glad to see that you carried on with this -- great work!!

I guess the elders will simply say that it's history repeating itself,
but Grails 2.0 is looking promising! We can finally give that upstart
Javascript a run for its money (despite ES5 looking nice...) -- not to
mention Google Wave/Opera Unite/etc.

Now, the real blocker is accessing the DOM from Python. I haven't
looked into the source code deeply, but perhaps Kroll could be of
help:

* http://github.com/jhaynie/kroll/tree/master

I was able to do the following with Titanium Desktop (which uses it)
to access the DOM from Python:

<script type="text/python">
  def hello(s):
      document.getElementById('foo').innerHTML = s
</script>
<div> Hello <div id="foo">World</div></div>
<script>hello("tav")</script>

More relevant links:

* http://www.appcelerator.com/
* http://github.com/appcelerator/

Anyways, I'm sure others might have a better idea of integrating
Python and the DOM.

Well done again!

-- 
love, tav

plex:espians/tav | tav at espians.com | +44 (0) 7809 569 369
http://tav.espians.com | http://twitter.com/tav | skype:tavespian
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4