当前位置: 首页 > 2009年9月发布的所有日志
  • python use BeautifulSoup crawl weather forecast

    python 使用BeautifulSoup(美汤)来抓取天气预报,简单的例子,只当练手 #!/usr/bin/env python# -*- coding: gb2312 -*- #get weather info from internet#http://weather.china.com.cn/city/54511_full.html import urllib,re,unicodedata,string,sys,refrom BeautifulSoup import * if __name__==”__main__&# ...

    阅读全文
    作者:2hei | 分类:OpenSource, python | 阅读:856 views | 标签:,
    python use BeautifulSoup crawl weather forecast已关闭评论
  • PYTHON_EGG_CACHE

    在使用python写的cgi是遇到如下问题Can’t extract file(s) to egg cache The following error occurred while trying to extract file(s) to the Python egg cache: [Errno 20] Not a directory: ‘/dev/null/.python-eggs’ The Python egg cache directory is currently set to: /dev/null/.python-e ...

    阅读全文
    作者:2hei | 分类:python | 阅读:1,561 views | 标签:
    PYTHON_EGG_CACHE已关闭评论