Mar
3
昨天晚上在window用py2exe编译python写的程序,由于第一次用,好多不解,当编译出现The following modules appear to be missing错误时,就唔知怎样处理了, 以下为错误信息:
The following modules appear to be missing
['DateTime', '_ssl', 'chardet', 'chardet.constants', 'cjkcodecs.aliases', 'iconv_codec', 'mx.DateTime', 'mx.Tidy', 'tidy']
在网上google后,才知道要在配置文件动手脚,以下我的配置文件
# setup.py
from distutils.core import setup
setup(console=["getrssgb.py"],
options = {'py2exe': {'excludes': ['DateTime','_ssl','chardet', 'chardet.constants', 'cjkcodecs.aliases', 'iconv_codec', 'mx.DateTime', 'mx.Tidy', 'tidy']}}
)
这样编译就没问题了.
The following modules appear to be missing
['DateTime', '_ssl', 'chardet', 'chardet.constants', 'cjkcodecs.aliases', 'iconv_codec', 'mx.DateTime', 'mx.Tidy', 'tidy']
在网上google后,才知道要在配置文件动手脚,以下我的配置文件
# setup.py
from distutils.core import setup
setup(console=["getrssgb.py"],
options = {'py2exe': {'excludes': ['DateTime','_ssl','chardet', 'chardet.constants', 'cjkcodecs.aliases', 'iconv_codec', 'mx.DateTime', 'mx.Tidy', 'tidy']}}
)
这样编译就没问题了.
Feb
14
FreeBSD和Linux脚本放在后台执行的命令都一样,用法差不多, 我都是使用最基本的.
nohup命令
例
nohup ./test.pl &
另
ps命令可以查看刚才运行的test.pl命令的情况.
至于nohup的详细用法最好google搜索引擎查询一下.
nohup命令
例
nohup ./test.pl &
另
ps命令可以查看刚才运行的test.pl命令的情况.
至于nohup的详细用法最好google搜索引擎查询一下.
Feb
13
绿油油一片,新年后的中国股市变成这样,不详之兆啊, 有人说过,年头大跌的话就整年绿啊,惨啊, 上年六月在16.3买的002083
孚日股份,到现在都未解套,如果大盘跌下去,这只垃圾股一定跌得体无完肤,2007年的利润都赔在这烂股上,看来今年的运程一定差了...
孚日股份,到现在都未解套,如果大盘跌下去,这只垃圾股一定跌得体无完肤,2007年的利润都赔在这烂股上,看来今年的运程一定差了...
Feb
13
ruby做爬虫好像都不错啊,不过Me不会ruby, 看来也要学习了.
http://www.ibm.com/developerworks/cn/linux/l-spider/
http://www.ibm.com/developerworks/cn/linux/l-spider/
Feb
13
这阵子突然好想学用python, 这阵子用perl写爬虫,即网络蜘蛛, 但看了好些文章说perl的线程不好,python的线程处理比它好,所以想尝试下.
学习的一些链接:
http://group.movo.tv/m8/circlediarylook/Sff8080811149c2fc01114afac1b80637.html
学习的一些链接:
http://group.movo.tv/m8/circlediarylook/Sff8080811149c2fc01114afac1b80637.html






