[web2py] Re: Send HTML form submission to python script

2012-07-04 Thread adohertyd
Thanks Anthony. This has been bothering me for ages because I couldn't decide where to put the python code. Much appreciated. On Wednesday, 4 July 2012 14:10:02 UTC+1, Anthony wrote: > > Thanks for that but it doesn't really answer my question. When I return >> dict(results=results), I want to p

[web2py] Re: Send HTML form submission to python script

2012-07-04 Thread Anthony
> > Thanks for that but it doesn't really answer my question. When I return > dict(results=results), I want to pass that to a script, lets say > 'process.py' to tokenize it etc. My question is: Do I create a new > controller called process.py (which won't have a corresponding HTML page), > or

[web2py] Re: Send HTML form submission to python script

2012-07-04 Thread adohertyd
Hi Massimo, Thanks for that but it doesn't really answer my question. When I return dict(results=results), I want to pass that to a script, lets say 'process.py' to tokenize it etc. My question is: Do I create a new controller called process.py (which won't have a corresponding HTML page), or

[web2py] Re: Send HTML form submission to python script

2012-07-03 Thread Massimo Di Pierro
> > > index.html: > > > MY SEARCH ENGINE > > > >"100px"> > > > >   > > > > results.html > > {{extend 'layout.html'}} > This is the default/results.html template > {{=BEAUTIFY(response._vars)}} > > > {{=results}} > > default.py: > > import urllib > > > d