Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #31769 > unrolled thread

Executing python script from JS

Started bygm <notMyMail@mail.not>
First post2016-12-05 15:33 +0100
Last post2016-12-05 23:53 +0700
Articles 4 — 4 participants

Back to article view | Back to comp.lang.javascript


Contents

  Executing python script from JS gm <notMyMail@mail.not> - 2016-12-05 15:33 +0100
    Re: Executing python script from JS "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-12-05 07:15 -0800
    Re: Executing python script from JS <luser@example.com> - 2016-12-05 15:28 +0000
      Re: Executing python script from JS JJ <jj4public@vfemail.net> - 2016-12-05 23:53 +0700

#31769 — Executing python script from JS

Fromgm <notMyMail@mail.not>
Date2016-12-05 15:33 +0100
SubjectExecuting python script from JS
Message-ID<o23tsk$fsp$1@l01news1.ot.hr>
Is it possible ?

Regards !

[toc] | [next] | [standalone]


#31770

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2016-12-05 07:15 -0800
Message-ID<0eb93879-a7de-48cc-ab5d-c756c84988e5@googlegroups.com>
In reply to#31769
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?

[toc] | [prev] | [next] | [standalone]


#31771

From<luser@example.com>
Date2016-12-05 15:28 +0000
Message-ID<NIf1A.259256$IJ6.106292@fx46.am4>
In reply to#31769
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.

[toc] | [prev] | [next] | [standalone]


#31772

FromJJ <jj4public@vfemail.net>
Date2016-12-05 23:53 +0700
Message-ID<1l13umulrh2fl.uuv4999dsdc9.dlg@40tude.net>
In reply to#31771
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>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web