摘要:
1. handle exceptionimport systry: a=1/1except Exception, e: print "failed", sys.exc_info()[0]else: print "no exception"finally: print "e... 阅读全文
posted @ 2014-09-18 11:51
phoenix13
阅读(367)
评论(0)
推荐(0)
摘要:
1. hello world. URL handerimport bottle@bottle.route('/')def home_page(): return "hello world\n"@bottle.route('/testpage')def test_page(): retur... 阅读全文
posted @ 2014-09-18 09:35
phoenix13
阅读(311)
评论(0)
推荐(0)
浙公网安备 33010602011771号