浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年10月6日

摘要: http://dev.mysql.com/tech-resources/articles/xml-in-mysql5.1-6.0.htmlhttp://dev.mysql.com/doc/refman/5.1/en/load-data.htmlMySQL的批插入 BULK INSERT和load data的速度差不多,并且可靠。语法如下假设有表test (ID NUMBER,NAME VARCHA... 阅读全文
posted @ 2010-10-06 23:35 lexus 阅读(652) 评论(0) 推荐(0)

摘要: erlang:敌法,大后期haskell:剑圣,河道男,又称河蟹go:新出的英雄,蛙人,后期lisp:双头龙,古老的龙族,很少有出场的机会了c:老牛,前期棍子,中期跳大很重要c++ 暗夜魔王,也很少有出场机会了php 强大的前期,就是砸石头人那个Ruby 风行者,只有一个技能比较牛Perl 狼人,很难杀,除非被围攻ASP:光法,看起来很强大,其实只能是路人战java:人族,圣骑士,看起来很神圣,其... 阅读全文
posted @ 2010-10-06 20:45 lexus 阅读(291) 评论(0) 推荐(0)

摘要: def xml2db(file): s=pq(open(file,"r").read()) dict={} for field in g_fields: dict[field]=s("field[@name='%s']"%field).text() p=Product() for k,v in dict.iteritems(): if v is None or v.strip()=="": pas... 阅读全文
posted @ 2010-10-06 20:33 lexus 阅读(200) 评论(0) 推荐(0)

摘要: Some Notes on Tim Bray's Wide FinderBenchmarkFredrik Lundh | Updated October 12, 2007 | Originally posted October 6, 2007The Problem#Tim Bray recently posted about his experiences from using Erlang to... 阅读全文
posted @ 2010-10-06 14:26 lexus 阅读(582) 评论(0) 推荐(0)

摘要: 并发编程利器EventletEventlet是由第二人生(Secondlife)开源的高度伸缩性的Python网络编程库. 根据官方介绍大致特性如下: 非阻塞I/O模型协程(Coroutines)使得开发者可以采用阻塞式的开发风格,却能够实现非阻塞I/O的效果隐式事件调度,使得可以在Python解释器或者应用程序的某一部分去使用Eventlet 关于协程,大致可以理解成允许子程序可以多次暂停和恢... 阅读全文
posted @ 2010-10-06 13:48 lexus 阅读(377) 评论(0) 推荐(0)

摘要: Routes is a Python re-implementation of the Rails routes system for mapping URLs to application actions, and conversely to generate URLs. Routes makes it easy to create pretty and concise URLs that ar... 阅读全文
posted @ 2010-10-06 13:43 lexus 阅读(410) 评论(0) 推荐(0)

摘要: 未理解http://www.ibm.com/developerworks/cn/linux/l-cpyiter/index.html Python标准库参考笔记- itertools 收藏 Python标准库参考笔记- itertools10.7 itertools地址:http://docs.python.org/library/itertools.htmlPyMOTW:ht... 阅读全文
posted @ 2010-10-06 12:55 lexus 阅读(499) 评论(0) 推荐(0)

摘要: 到意识,明星们将陨落,平民和普通民众会被大众掏掏掏拥抱,近年来大众选秀节目就是一个例子,明星不再高高在上,传统的明星,要落幕了,他们不再nb和高贵,这很好.再也没有所谓的偶像了,诚如90后所言,不要代表,只要表达 阅读全文
posted @ 2010-10-06 09:42 lexus 阅读(154) 评论(0) 推荐(0)

摘要: Use the-aswitch:to show process command line arguments. 阅读全文
posted @ 2010-10-06 09:03 lexus 阅读(178) 评论(0) 推荐(0)

摘要: sql 的 top 和 mysql中的limit文章分类:Java编程同一个功能但是在两个数据库中的不同用法 这个是sql中的语句 select top 5 cid,workid from agents 这个是mysql中的语句 SELECT * FROM lnaccumulation.callslog limit 5select * from model_product limit 5 o... 阅读全文
posted @ 2010-10-06 01:59 lexus 阅读(225) 评论(0) 推荐(0)

摘要: http://stackoverflow.com/questions/3865254/about-python-doc-docstring/3865321#3865321functools.wraps(wrapped[, assigned][, updated])¶ This is a convenience function for invoking partial(update_wr... 阅读全文
posted @ 2010-10-06 00:02 lexus 阅读(179) 评论(0) 推荐(0)