I am exploring web.py, using: # webPlay1.py # plug - an attempt to avoid the crash at line 153 in request.py # fvars.__file__ not set import sys __file__= sys.argv[0] # end of plug
import web urls= ('/', 'index') class index: def GET(self): print 'Hello world' web.webapi.internalerror = web.debugerror if __name__ == '__main__': web.run(urls, globals(), web.reloader) The above executes OK but neither IE 7 or Firefox triggers the Hello World message. I would welcome any suggestions. Colin W. _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com