小语种
文章平均质量分 91
foreversunyao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
函数式编程
var a=[1,2,3]; function map(fn,a){ for(i=0;i<a.length;i++){ a[i] = fn(a[i]); } } map(function(x){return x*2;},a); function reduce(fn,a,init){ var s =init; ...原创 2011-05-26 16:22:40 · 118 阅读 · 0 评论 -
Erlang for concurrent
Tips: Erlang has a process-based model of concurrency. Concurrency is explicit and the user can precisely control which computations are performed sequentially and which are performed in paralle...原创 2011-06-15 23:33:16 · 123 阅读 · 0 评论 -
python 关注点
1, python 中的pickle 模块,直接在文件中存储任何Python对象的高级工具。 2, 对象分类(数字,字符串,列表,字典,元组,文件)原创 2011-06-21 22:13:09 · 150 阅读 · 0 评论 -
python 基础
is 运算符是判定同一性而不是相等性的 zip 函数可以作用于任意多的序列,也可以应对不等长的序列:当最短的序列"用完“的时候就会停止 函数参数赋值:def try_to_change(n): def try_to_change(n): n = 'Mr. Gumby' name = 'Mr .Entity' try_to_change(name) name 'Mrs...原创 2011-03-28 21:50:57 · 118 阅读 · 0 评论 -
Erlang 介绍
转载:http://jbpm.group.iteye.com/group/topic/7938 作者:成立涛 (litaocheng@gmail.com ) 作为程序员,我们曾经闻听很多“业界动态”,“技术革新”,曾经接触很多“高手箴言”,“权威推荐”。这些正确与否,都已成过去! 现在,让我们迎接 Erlang盛宴! 一、经历 2007年 11月在 koders.com搜索代码时,发...原创 2011-03-30 09:46:40 · 306 阅读 · 0 评论 -
python处理文本文件内容专题
转载 http://blog.sina.com.cn/s/blog_5d236e060100enrm.html 1.读取一个文本文件之后得到里面出现最多的关键字的代码如下: from time import time from operator import itemgetter def test(): # 取 10 个,有需要可以修改, 及定义读取的文件 test.txt...原创 2011-04-04 15:27:14 · 240 阅读 · 0 评论 -
一位大牛整理的Python资源
转载 一个论坛:http://www.python-forum.org/pythonforum/index.php Python基本安装: * http://www.python.org/ 官方标准Python开发包和支持环境,同时也是Python的官方网站; * http://www.activestate.com/ ...原创 2011-04-04 19:41:33 · 119 阅读 · 0 评论 -
Python 常识
转载http://blog.whiledo.com/archives/400 Python 使用行缩进 代替传统的 {...} 和 Begin ... End 对大小写敏感 行尾使用: 作为块开始,个人习惯以一个空行做为块结束 支持非ASCII字符,在页首加与 #-*- coding:utf-8 -*- Python所有元素基本上全是对象 help(对象) 显示对...原创 2011-04-05 23:21:09 · 131 阅读 · 0 评论
分享