码迷,mamicode.com
首页 >  
搜索关键字:__builtin__    ( 266个结果
Robot Framework常用关键字介绍
下面关键字全部由 Builtin 库提供,Builtin 为 Robot Framework 标准类库。Builtin库提供常用的关键字 1、log log 关键字就是编程语言里的“print”一样,可以打印任何你想打印的内容。 2、定义变量 通过“Set variable”关键字来定义变量 3、连 ...
分类:其他好文   时间:2017-04-11 16:42:50    阅读次数:23819
Python 的内置函数__import__
我们知道import语句是用来导入外部模块的,当然还有from...import...也可以,但是其实import实际上是使用builtin函数__import__来工作的。 在一些程序中,我们可以动态地去调用函数,如果我们知道模块的名称(字符串)的时候,我们可以很方便的使用动态调用。 Python ...
分类:编程语言   时间:2017-04-11 16:41:52    阅读次数:251
HERD--GCC宏
减少跳转语句失效时CPU等待取指令时间,提高CPU效率 使用__builtin_expect(EXP,N) 意思是EXP==N的概率很大 一般封装为LIKELY和UNLIKELY宏 #define LIKELY(x) __builtin_expect(!!(x),1) 很可能为真 #define U ...
分类:其他好文   时间:2017-04-11 11:45:15    阅读次数:167
python __builtin__模块介绍
# encoding: utf-8# module __builtin__# from (built-in)# by generator 1.143 abs(number) #返回值是一个数字的绝对值,如果是复数,返回值是复数的模 all(iterable) #所有的值为真时才为真,只要有一个是假就 ...
分类:编程语言   时间:2017-04-03 15:13:10    阅读次数:1342
Python中动态创建类实例
Python中动态创建类实例简介在Java中我们可以通过反射来根据类名创建类实例,那么在Python我们怎么实现类似功能呢?其实在Python有一个builtin函数import,我们可以使用这个函数...
分类:编程语言   时间:2017-03-24 12:25:54    阅读次数:282
bash命令
整理bash命令类型,验证寻找一个命令的优先级 bash命令优先级表:1别名 由alias指定2关键字 3函数 由function(){}定义4内置命令 builtin命令5脚本或可执行程序 $Path和当前路径中的脚本或可执行文件 #bash环境下可以执行的命令有两类:一类就是前面说过的可执行文件 ...
分类:其他好文   时间:2017-03-21 19:50:22    阅读次数:124
解决Unable to load native-hadoop library for your platform
使用hadoop fs相应命令时候总是出现 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicabl ...
分类:其他好文   时间:2017-02-24 18:16:02    阅读次数:189
python内置函数5-filter()
Helponbuilt-infunctionfilterinmodule__builtin__:filter(...)filter(functionorNone,sequence)->list,tuple,orstringReturnthoseitemsofsequenceforwhichfunction(item)istrue.IffunctionisNone,returntheitemsthataretrue.Ifsequenceisatupleorstring,returnthesametype,..
分类:编程语言   时间:2017-02-22 15:33:43    阅读次数:197
python内置函数5-float()
Helponclassfloatinmodule__builtin__:classfloat(object)|float(x)->floatingpointnumber||Convertastringornumbertoafloatingpointnumber,ifpossible.||Methodsdefinedhere:||__abs__(...)|x.__abs__()<==>abs(x)||__add__(...)|x.__add__(y)<==>x+y||__coerc..
分类:编程语言   时间:2017-02-22 15:32:55    阅读次数:236
python内置函数5-format()
Helponbuilt-infunctionformatinmodule__builtin__:format(...)format(value[,format_spec])->stringReturnsvalue.__format__(format_spec)format_specdefaultsto""format(value[,format_spec])Convertavaluetoa“formatted”representation,ascontrolledbyformat_spec.Thei..
分类:编程语言   时间:2017-02-22 15:29:28    阅读次数:206
266条   上一页 1 ... 11 12 13 14 15 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!