New submission from Mahira: Hai
I followed your Tutorial In the Following Program, i am getting Traceback (most recent call last): File "C:\Users\Mahira\AppData\Local\Programs\Python\Python36\Scripts\localhost.py", line 1, in <module> import web File "C:\Users\Mahira\AppData\Local\Programs\Python\Python36\Scripts\web.py", line 6, in <module> app = web.application(("urls"),globals()) AttributeError: module 'web' has no attribute 'application' And my program is: import web urls = ( '/', 'index' ) class index: def GET(self): return "Hello, world!" if __name__ == "__main__": app = web.application(urls, globals()) app.run() ---------- assignee: terry.reedy components: IDLE messages: 295071 nosy: Mahira, terry.reedy priority: normal severity: normal status: open title: Bugs in Web app type: compile error versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30559> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com