You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import web
|
|
|
|
urls=(
|
|
'/users?(.+)','get_user'
|
|
)
|
|
app = web.application(urls,globals())
|
|
|
|
class get_user:
|
|
def GET(self,user):
|
|
data = web.input()
|
|
return data.id2
|
|
if __name__ == '__main__':
|
|
app.run()
|