代码都是错的,不能运行的
import web
urls = (
'/index', 'index',
'/blog/\\d+', 'blog',
'/(.*)', 'hello',
)
app = web.application(urls, globals())
太坑爹,代码也不上传
import web
urls = (
'/index', 'index',
'/blog/\\d+', 'blog',
'/(.*)', 'hello',
)
app = web.application(urls, globals())
太坑爹,代码也不上传
E:\python>python web.py
Traceback (most recent call last):
File "web.py", line 1, in <module>
import web
File "E:\python\web.py", line 6, in <module>
app = web.application(urls, globals())
AttributeError: 'module' object has no attribute 'application'
Traceback (most recent call last):
File "web.py", line 1, in <module>
import web
File "E:\python\web.py", line 6, in <module>
app = web.application(urls, globals())
AttributeError: 'module' object has no attribute 'application'
2017-04-25