Greetings!
I’m have just started the LPTHW Ex50, I typed in the app.py and ran it as instructed it shows the expected result:
http://0.0.0.0:8080/
But after when I go to the http://localhost:8080 as mentioned in the book I Get this:
This is my app.py file:
import web
urls = (
'http://localhost:8080', 'index'
)
app = web.application(urls, globals())
class index:
def GET(self):
greeting = "Hello World"
return greeting
if __name__ == "__main__":
app.run()
What am I doing wrong?
(I’m on Windows 7 with Powershell & Editor is VSC with Chrome as Browser)