
greetings all, i like python and lot and would like to use it everywhere ... upto on the web (not django type). For python js-compiled versions (for makers) can you provide some syntax guidelines for dom access ? Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com

hum i'm saying that if i write a compiler for python based on the js language, is there any guideline as how to make the syntax more pythonic? Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 16 Aug 2017 08:41, "Abdur-Rahmaan Janhangeer" <arj.python@gmail.com> wrote:

On Wed, Aug 16, 2017 at 10:06 PM, Abdur-Rahmaan Janhangeer <arj.python@gmail.com> wrote:
hum i'm saying that if i write a compiler for python based on the js language, is there any guideline as how to make the syntax more pythonic?
You may want to look at prior art, including PyPyJS and Brython. https://github.com/pypyjs/pypyjs-examples https://www.brython.info/static_doc/en/dom_api.html ChrisA

On Wednesday, August 16, 2017, Chris Angelico <rosuav@gmail.com> wrote:
https://github.com/Knio/dominate - #examples - nested context managers

On Wednesday, August 16, 2017, Wes Turner <wes.turner@gmail.com> wrote:
https://pyquery.readthedocs.io/en/latest/ https://pyquery.readthedocs.io/en/latest/api.html - PyQuery supports jQuery-like Pythonic DOM traversal

hum i'm saying that if i write a compiler for python based on the js language, is there any guideline as how to make the syntax more pythonic? Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 16 Aug 2017 08:41, "Abdur-Rahmaan Janhangeer" <arj.python@gmail.com> wrote:

On Wed, Aug 16, 2017 at 10:06 PM, Abdur-Rahmaan Janhangeer <arj.python@gmail.com> wrote:
hum i'm saying that if i write a compiler for python based on the js language, is there any guideline as how to make the syntax more pythonic?
You may want to look at prior art, including PyPyJS and Brython. https://github.com/pypyjs/pypyjs-examples https://www.brython.info/static_doc/en/dom_api.html ChrisA

On Wednesday, August 16, 2017, Chris Angelico <rosuav@gmail.com> wrote:
https://github.com/Knio/dominate - #examples - nested context managers

On Wednesday, August 16, 2017, Wes Turner <wes.turner@gmail.com> wrote:
https://pyquery.readthedocs.io/en/latest/ https://pyquery.readthedocs.io/en/latest/api.html - PyQuery supports jQuery-like Pythonic DOM traversal
participants (3)
-
Abdur-Rahmaan Janhangeer
-
Chris Angelico
-
Wes Turner