Thank you!
It works with a latest sources and after fixing the import line to
'from gluon.main import wsgibase'

On Jun 3, 5:18 pm, Massimo Di Pierro <[email protected]>
wrote:
> ### no_threads_web2py.py ###
> from wsgiref.simple_server import make_server, demo_app
> from gluon import wsgibase
> httpd = make_server('', 8000, wsgibase)
> print "Serving HTTP on port 8000..."
> # Respond to requests until process is killed
> httpd.serve_forever()
> ### end file ###
>
> On Jun 3, 12:07 am, Dmitriy <[email protected]> wrote:
>
>
>
>
>
>
>
> > Is there any way to executeweb2pyin one (main) thread?
> > If not, can it be added?
> > This can help to debugweb2pyinPyScripter.PyScripteris great IDE
> > for Windows, but currently support only single-threaddebugging. A '-n
> > 1' command line option doesn't help.
>
> > Thanks!

Reply via email to