web.py 動かし方 ;; webpy_blogって名前のDBは作成済みってとこから $ mysql -u hoge -p < sql/page.sql $ mysql -u hoge -p < sql/user.sql $ python myblog.py ↑ myblog.py __version__ = '0.0.2' __author__ = 'syobosyobo@gmail.com' import time import web render = web.template.render('templates/') urls = ( '/login', 'login', '/logout', 'logout', '/blog/(.*)/([0-9][0-9][0-9][0-9])/([0-1][0-9])/([0-3][0-9])/(.*)/', 'blog', '/blog/