f



Executing python script from JS

Is it possible ?

Regards !
0
gm
12/5/2016 2:33:56 PM
comp.lang.javascript 38370 articles. 0 followers. javascript4 (1315) is leader. Post Follow

3 Replies
268 Views

Similar Articles

[PageSpeed] 49

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?
0
Michael
12/5/2016 3:15:57 PM
gm <notMyMail@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.
0
luser
12/5/2016 3:28:45 PM
On Mon, 05 Dec 2016 15:28:45 GMT, luser@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
JJ
12/5/2016 4:53:41 PM
Reply: