08 2012 档案

python制作图表工具,pyChart安装方法
摘要:pyChart是python的一个画图表的库,可以画常用的折线图、柱状图等统计图。官方地址为:http://home.gna.org/pychart/ 开发文档地址为:http://home.gna.org/pychart/doc/。以下为安装方法:1. 安装libxext-dev: 终端中执行sudo apt-get install libxext-dev,或用Ubuntu软件中心搜索libxext-dev安装。2. 安装Ghostscript: 下载Ghostscript源码包, 下载地址:http://down1.chinaunix.net/distfiles/ghostscript.. 阅读全文

posted @ 2012-08-20 18:16 liugoodness 阅读(4829) 评论(0) 推荐(0) 编辑

9种哈希算法代码
摘要:// 这个算法在开源的SDBM中使用,似乎对很多不同类型的数据都能得到不错的分布。unsigned int SDBMHash(const char *str){ unsigned int hash = 0 ; while (*str) { // equivalent to: hash = 65599*hash + (*str++); hash = (*str++) + (hash << 6 ) + (hash << 16 ) - hash; } return (hash & 0x7FFFFFFF );}// 从Robert ... 阅读全文

posted @ 2012-08-02 09:34 liugoodness 阅读(1304) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示