Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46466 > unrolled thread
| Started by | Franck Ditter <nobody@nowhere.org> |
|---|---|
| First post | 2013-05-30 14:20 +0200 |
| Last post | 2013-06-01 14:43 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
Python toplevel in a Web page Franck Ditter <nobody@nowhere.org> - 2013-05-30 14:20 +0200
RE: Python toplevel in a Web page Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-31 00:40 +0300
Re: Python toplevel in a Web page Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-01 14:43 +0000
| From | Franck Ditter <nobody@nowhere.org> |
|---|---|
| Date | 2013-05-30 14:20 +0200 |
| Subject | Python toplevel in a Web page |
| Message-ID | <nobody-F6A3A1.14201830052013@news.free.fr> |
Hello,
I wonder if I can find some source code example
of a Python 3 toplevel box in a Web page.
Something simple, no mySQL, no Django hammer, etc.
Just the basics of the technology to get the
content of a small text editor in which the user
writes some Python script, to be analyzed (eval'ed)
then whose result is to be written in another text box.
Simple, pythonistic.
Thanks for the pointer,
franck
[toc] | [next] | [standalone]
| From | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
|---|---|
| Date | 2013-05-31 00:40 +0300 |
| Message-ID | <mailman.2454.1369950067.3114.python-list@python.org> |
| In reply to | #46466 |
---------------------------------------- > From: nobody@nowhere.org > Subject: Python toplevel in a Web page > Date: Thu, 30 May 2013 14:20:18 +0200 > To: python-list@python.org > > Hello, > I wonder if I can find some source code example > of a Python 3 toplevel box in a Web page. > Something simple, no mySQL, no Django hammer, etc. > Just the basics of the technology to get the > content of a small text editor in which the user Do you mean HTML <textarea> element? > writes some Python script, to be analyzed (eval'ed) > then whose result is to be written in another text box. Analyzed by the browser or server side? > Simple, pythonistic. > Thanks for the pointer, > > franck > -- > http://mail.python.org/mailman/listinfo/python-list
[toc] | [prev] | [next] | [standalone]
| From | Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> |
|---|---|
| Date | 2013-06-01 14:43 +0000 |
| Message-ID | <slrnkqk2c6.33c.giorgos.tzampanakis@brilliance.eternal-september.org> |
| In reply to | #46466 |
On 2013-05-30, Franck Ditter wrote: > Hello, > I wonder if I can find some source code example > of a Python 3 toplevel box in a Web page. > Something simple, no mySQL, no Django hammer, etc. > Just the basics of the technology to get the > content of a small text editor in which the user > writes some Python script, to be analyzed (eval'ed) > then whose result is to be written in another text box. > Simple, pythonistic. > Thanks for the pointer, > > franck Just set up a webpage with a text area that sends its content as a POST request to the server where a cgi script will invoke python to run the script and respond with the output. Do you trust all possible users of this application? If not, you should make sure that the python interpreter is running in a sandbox. -- Real (i.e. statistical) tennis and snooker player rankings and ratings: http://www.statsfair.com/
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web