码迷,mamicode.com
首页 >  
搜索关键字:built-in functions    ( 2913个结果
【转】深入 Python :Dive Into Python 中文版
原文网址:http://woodpecker.org.cn/diveintopython/power_of_introspection/lambda_functions.html4.7.使用lambda函数4.7.1. 真实世界中的 lambda 函数Python支持一种有趣的语法,它允许你快速定义...
分类:编程语言   时间:2015-01-20 23:46:33    阅读次数:280
Python之迭代器(iterator)
迭代器(iterator) 一个表示数据流的对象。反复调用迭代器的__next__()方法(或给它传递内建函数(built-in function)next())来返回在该流中的后继项。当没有可用数据时,产生一个StopInteration异常。此时,迭代器对象被耗尽,之后再调用__next__()方法只会再次产生StopInteration异常。迭代器要求包含一个__iter__()方法,...
分类:编程语言   时间:2015-01-20 20:28:35    阅读次数:185
gcc 编译warning 去除
1. warning: incompatible implicit declaration of built-in function 'strlen' 解决方案: #include 2. client.c:61: warning: passing argument 1 of 'snprintf' from incompatible pointer type 解决方案: 数据类型定义错误,...
分类:其他好文   时间:2015-01-20 13:49:30    阅读次数:334
python sorted
http://www.cnblogs.com/65702708/archive/2010/09/14/1826362.htmlpython sorted我们需要对List进行排序,Python提供了两个方法对给定的List L进行排序,方法1.用List的成员函数sort进行排序方法2.用built...
分类:编程语言   时间:2015-01-19 23:30:56    阅读次数:203
Maven 属性
Built-in properties${basedir} represents the directory containing pom.xml${version} equivalent to ${project.version} (deprecated: ${pom.version})Pom/P...
分类:其他好文   时间:2015-01-17 06:21:06    阅读次数:177
Effective C++读书笔记 Part2
Effective_CPP_Note2Effective C++ Notes Part IIPart II. Constructors, Destructors and Assignment Operators5. Know what functions C++ silently writes an...
分类:编程语言   时间:2015-01-16 12:50:24    阅读次数:192
python 内置函数汇总
有80个内置函数官网https://docs.python.org/2/library/functions.html查询内置函数的功能描述用 help(内置函数名)The Python interpreter has a number of functions built into it that ...
分类:编程语言   时间:2015-01-15 12:28:46    阅读次数:204
NVIDIA CG语言 函数之所有数学类函数(Mathematical Functions)
CG着色器语言的所有数学类函数,及函数内部代码实现 写的都很巧妙,可以用“微量高效”来形容,值得我们学习...
分类:编程语言   时间:2015-01-15 09:24:24    阅读次数:282
NVIDIA CG语言 函数之所有数学类函数(Mathematical Functions)
CG着色器语言的所有数学类函数,及函数内部代码实现 写的都很巧妙,可以用“微量高效”来形容,值得我们学习
分类:编程语言   时间:2015-01-14 22:47:11    阅读次数:417
nagios二次开发(六)---nagiosql主要文件的介绍
nagiosql的入口文件:index.php,这也是所有php程序的入口文件。是由apache指定的。index.php 文件的开始引入了require("functions/prepend_adm.php");说明其实nagiosql的入口文件为prepend_adm.php;prepend_a...
分类:移动开发   时间:2015-01-13 23:14:28    阅读次数:280
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!