
网站分析
文章平均质量分 73
wangst4321
安静地翱翔,有翅膀就应该去飞翔
展开
-
AWStats使用
AWStats是使用perl语言编写的web log分析工具。 1.安装 从官网下载tar文件,解压至/usr/local/awstats/ 2.初始化配置 切换目录至/usr/local/awstats/tools下,执行以下命令: perl awstats_configure.pl 这个配置脚本执行的过程中,需要用户回答一些设置问题。 awstats_configure.pl会修原创 2012-10-17 15:58:53 · 1024 阅读 · 0 评论 -
python处理中文字符
1.在py文件中使用中文字符 unicode.py文件内容如下所示: # -*- coding:utf-8 -*- str_ch = '我们women' uni_ch = u'我们women' print "type:", type(str_ch), "content:", str_ch, repr(str_ch) print "type:", type(uni_ch), "conten原创 2013-08-20 18:17:07 · 1601 阅读 · 0 评论