Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Executing python script from JS

7 views
Skip to first unread message

gm

unread,
Dec 5, 2016, 9:34:00 AM12/5/16
to
Is it possible ?

Regards !

Michael Haufe (TNO)

unread,
Dec 5, 2016, 10:16:02 AM12/5/16
to
On Monday, December 5, 2016 at 8:34:00 AM UTC-6, gm wrote:
> Is it possible ?
>
> Regards !

Short answer: No.

Long Answer: Yes.

Can you narrow the question down a bit?

lu...@example.com

unread,
Dec 5, 2016, 10:28:53 AM12/5/16
to
gm <notM...@mail.not> wrote:
> Is it possible ?
>
> Regards !

One could use AJAX to make JS call a python script on the server
to be executed on the server.
It is probably also possible to write a python interpreter in JS
and then let that execute python code on the client.

JJ

unread,
Dec 5, 2016, 11:53:51 AM12/5/16
to
On Mon, 05 Dec 2016 15:28:45 GMT, lu...@example.com wrote:
> It is probably also possible to write a python interpreter in JS
> and then let that execute python code on the client.

They exist already.

<https://github.com/search?l=JavaScript&q=%22python+interpreter%22&ref=searchresults&type=Repositories&utf8=%E2%9C%93>
0 new messages