rapydscript

Best way to integrate Python and JavaScript?

微笑、不失礼 提交于 2019-12-17 05:37:55
问题 Is it possible to integrate Python and JavaScript? For example, imagine you wanted to be able to define classes in JavaScript and use them from Python (or vice versa). If so, what's the best way? I'm interested not only if this is possible but if anyone has done it within a "serious" project or product . I'm guessing it would be possible using Jython and Rhino, for one example, but I'm curious whether or not anyone's ever actually done this, and if there are solutions for other platforms

Best way to integrate Python and JavaScript?

让人想犯罪 __ 提交于 2019-12-17 05:37:15
问题 Is it possible to integrate Python and JavaScript? For example, imagine you wanted to be able to define classes in JavaScript and use them from Python (or vice versa). If so, what's the best way? I'm interested not only if this is possible but if anyone has done it within a "serious" project or product . I'm guessing it would be possible using Jython and Rhino, for one example, but I'm curious whether or not anyone's ever actually done this, and if there are solutions for other platforms

Best way to integrate Python and JavaScript?

核能气质少年 提交于 2019-11-26 21:28:29
Is it possible to integrate Python and JavaScript? For example, imagine you wanted to be able to define classes in JavaScript and use them from Python (or vice versa). If so, what's the best way? I'm interested not only if this is possible but if anyone has done it within a "serious" project or product . I'm guessing it would be possible using Jython and Rhino , for one example, but I'm curious whether or not anyone's ever actually done this, and if there are solutions for other platforms (especially CPython ). Here's something, a Python wrapper around the SeaMonkey Javascript interpreter...