Re: how to initiate an interactive python script from an html cgi?

2015-03-25 Thread Tom Evans
On Wed, Mar 25, 2015 at 1:06 AM, arthur sherman wrote: > i have a python script which currently runs in a shell cli. > i'd like to initiate this script from a web page. > the closest i got was to have the output displayed on the webpage (w/o > linefeeds), > but it

Re: how to initiate an interactive python script from an html cgi?

2015-03-25 Thread Derek
You could look at using a tool like Skulpt which allows you to run scripts with interaction in a browser window: http://www.skulpt.org/ E.g. from their example: Python 2.6(ish) (skulpt, Wed Mar 25 2015 17:52:34) [Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu

how to initiate an interactive python script from an html cgi?

2015-03-24 Thread arthur sherman
i have a python script which currently runs in a shell cli. i'd like to initiate this script from a web page. the closest i got was to have the output displayed on the webpage (w/o linefeeds), but it crashed when requesting input via raw_input(). i simply did 'exec python-script-name' from the