Python

1、 apply(function, args[, keywords])function得是函数、类等可以执行的东西,args得是sequence(如list),keywords是字典(如x=1,y=2) 例子:a(func,1,2,’hi’,x=3,y=”Hello!”),1,2,’hi’ 与function(*args, **keywords)等价,但此种用法从2.3之后不提倡 2、 subprocess.Popen Popen(*args)如果args是一串儿,那么第一个当做命令,后面的当参数   3、 re.compile(pattern, flags=0) http://kb.cnblogs.com/page/83394/ 搞正则表达式匹配的 Compile a regular expression pattern into a regular expression object, which can be used for matching using its match() and search() methods, described below. The