python
文章平均质量分 73
mahout_xb
这个作者很懒,什么都没留下…
展开
-
在centos上部署python+hbase
centos-5.4 + jdk-1.6 + hadoop-0.20.2 + hbase-0.90.2 + python-2.6 note:hbase-0.90.2 中自带zookeeper 在centos的配置文件(/etc/profile or ~/.bash_profile)中增加$JAVA_HOME,$HADOOP_HOME,$HBASE_HOMEln -s ha原创 2011-06-24 16:02:00 · 940 阅读 · 0 评论 -
linux自动每日更新桌面背景
每天定时(cron)抓取bing的主页图片作为linux桌面背景,以下是python脚本 import urllib import re img_p = re.compile(r'g_img={url:\'(.*?)\'', re.I | re.M | re.S) #download bing homepage content = urllib.urlopen('http://cn.bi原创 2012-11-19 09:50:28 · 816 阅读 · 0 评论