python
文章平均质量分 52
lxnkobe
这个作者很懒,什么都没留下…
展开
-
web.py 问题笔记
1.问题描述: app.run() File "C:\Python27\lib\site-packages\web\application.py", line 311, in run return wsgi.runwsgi(self.wsgifunc(*middleware)) File "C:\Python27\lib\site-packages\web\wsgi.py", lin原创 2014-02-25 23:14:37 · 4655 阅读 · 2 评论 -
python 中使用BeautifulSoup
安装:sudo pip install beautifulsoup4 使用 from urllib.request import urlopen 导入的时候报错,改为 from bs4 import BeautifulSoup 使用urlopen的时候,from urllib.request import urlopen 这样导入提示没有request模块,改为 from urlli原创 2014-03-19 23:26:12 · 819 阅读 · 0 评论 -
web.py +bootstrap 做网站笔记(1)
使用web.py 做后台开发+bootstrap 感觉能做出比较好的效果,今天就尝试一下。 1.首先是web.py的基本使用和bootstrap的配置(小僧使用的ubuntu) bootstrap: http://getbootstrap.com/getting-started/ 具体安装bootstrap包可以借助bower :http://bower.io/ 遇到的原创 2014-03-02 14:52:30 · 5325 阅读 · 0 评论