Hi, I started with python web module and i have no experience with web.
I used the example which is on the web.py site - ---------------------------------- import web urls = { '/', 'index' } class index: def GET(self): return "Hello World" if __name__ == "__main__": app = web.application(urls, globals()) app.run() ----------------------------------------- But when I execute this code on terminal and put http://localhost:8080/ in browser then I get "not found" in browser and at terminal I get error - $ python webse.py http://0.0.0.0:8080/ 127.0.0.1:51204 - - [18/Oct/2015 10:29:46] "HTTP/1.1 GET /" - 404 Not Found 127.0.0.1:51204 - - [18/Oct/2015 10:29:47] "HTTP/1.1 GET /" - 404 Not Found 127.0.0.1:51204 - - [18/Oct/2015 10:29:47] "HTTP/1.1 GET /" - 404 Not Found Looks like GET method is not visible and not getting executed. Please help Regards Rahul _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor