记录一下
pil,numpy,scipy,matplotlib
另外有个跟科学计算相关的python(x,y)收集了众多的函数库以及文档、教程.png)
本日志由 feng 于 2010-01-28 22:19:12 发表到 Programming 中,目前已经被浏览 26 次,评论 0 次;
作者添加了以下标签: python;
整理了几个用python进行gui开发的一些库
本日志由 feng 于 2010-01-28 20:47:54 发表到 Programming 中,目前已经被浏览 17 次,评论 0 次;
1、要对源数据有充分了解,这需要业务系统工程师配合。不只要了解所用到源系统表、字段的意义,还要对数据的质量进行验证。
2、跟客户确认脏数据的处理方式(丢弃还是默认其它),这会直接影响到最后报表的误差率。
3、确认数据存放时长,只有了解数据存放时长,才可以更好的进行事实表的存储方式(比如分区方式等)
4、及时验证数据的准确性,当我们做了一定的历史数据抽取后要及时跟客户验证数据的准确性,否则等系统上线后发现数据不正确,此时悔之晚矣。
5、确定调度方式,调度不同会影响数据抽取完成时间,比如1周的数据安排在1天调度完成跟分成7次调度的响应时间是完全不同,这要根据应用确定。
6、流程监控与故障处理,这是必不可少的,我们监控ETL的允许情况,还有任何程序都不能保证永不出错,所以我们需要做确保故障出现后能够弥补。
本日志由 feng 于 2010-01-27 14:41:36 发表到 Programming 中,目前已经被浏览 23 次,评论 0 次;
在infoQ看到的
Evolving the Key/Value Programming Model to a Higher Level:
http://www.infoq.com/presentations/newport-evolving-key-value-programming-model
本日志由 feng 于 2010-01-27 09:29:02 发表到 Programming 中,目前已经被浏览 30 次,评论 0 次;
作者添加了以下标签: Key/Value;
这段时间在改造之前写的的一个下载器,当时是用php实现的,现在改用python实现。因为远程文件都是以中文名字存放的,一开始用python处理起来碰到很多问题,其中最烦的就是在保存文件时对中文url的处理一直出错。最后发现用encode转换一下就可以正常支持了。
BeautifulSoup真的很好用
- urlstr.encode('gb2312')
本日志由 feng 于 2010-01-22 10:06:47 发表到 Programming 中,目前已经被浏览 23 次,评论 0 次;
install:
- sudo apt-get install mysql-server
support php:
- sudo apt-get install php5-mysql
done!
remove?
- apt-get autoremove --purge mysql-server-5.0
also
- sudo apt-get autoremove mysql-server
- sudo apt-get autoremove mysql-client
also
- apt-get remove mysql-common
install Django
download from http://www.djangoproject.com/download/ and then extrac
- sudo python setup.py install
cd into a directory where you’d like to store your code, then run the command:
- django-admin.py startproject mysite
This will create a mysite directory in your current directory.change into mysite directory and run the command:
- python manage.py runserver
now open "http://127.0.0.1:8000" with your firefox.You'll see a "Welcome to Django" page, It worked!
you can change the port with the following command:
- python manage.py runserver 8080
install mysqldb(this command "sudo sh MySQL_python-1.2.3c1-py2.6-linux-i686.egg" does not work?):
- sudo apt-get install python-mysqldb
use:
- django-admin.py startproject blog
but NOT:
- python django-admin.py startproject blog
换了个asp.net空间,imfeng.net也由typecho转换到Bitrac。
评论和附件数据不再进行转换。
Invite others to Google Wave
Google Wave is more fun when you have others to wave with, so please nominate people you would like to add. Keep in mind that this is a preview so it could be a bit rocky at times.
Invitations will not be sent immediately. We have a lot of stamps to lick. Happy waving!
20
invitation left
.................
ubuntu is powerfull!
晕。是对老鼠的人……
老鼠很恶心吧
Powered by Bitrac, Designed by Loveyuki, Icon by Led Icon Set. 粤ICP备09013569号