码迷,mamicode.com
首页 >  
搜索关键字:__builtins__    ( 126个结果
linux-exec
原文链接: http://www.cnblogs.com/zhaoyl/archive/2012/07/07/2580749.html 参考:《linux命令、编辑器与shell编程》 《unix环境高级编程》 exec和source都属于bash内部命令(builtins commands),在b ...
分类:系统相关   时间:2016-09-30 15:44:57    阅读次数:204
举例说一些内建函数
Build-in Function(内建函数) 内建函数其实就是内置函数,顾名思义就是不需要import就可以直接使用的函数咯,内建函数都是写在__builtins__中的,global中直接使用的。 我们常见的运算符也是内建函数 大于 > 对应的内建比较函数为 __gt__() 大于等于 >= 对 ...
分类:其他好文   时间:2016-09-06 23:07:01    阅读次数:270
Python基础(三)
本章内容: 深浅拷贝 函数(全局与局部变量) 内置函数 文件处理 三元运算 lambda 表达式 递归(斐波那契数列) 冒泡排序 深浅拷贝 import copy copy.copy() copy.deepcopy() 函数 def 内置函数 dir(__builtins__) 文件处理 open ...
分类:编程语言   时间:2016-08-22 16:10:44    阅读次数:125
Python之函数
Python函数分为内置函数和自定义函数。内置函数可以理解为一些类的方法的快捷方式,供我们创建对象时来调用内置函数大概有以下这么多Python内置变量如何查看Python内置变量?printvars(){‘__builtins__‘:<module‘__builtin__‘(built-in)>,‘__name__‘:‘__main__‘,‘__file_..
分类:编程语言   时间:2016-07-12 00:14:50    阅读次数:223
python的系统模块builtins快速查看
python是简单的一门语言,是因为里面存在了很多的模块使用,就好如linux中的也有理解命令的使用“man”、“help”,而python也有。用下面的命令查看>>>dir(__builtins__)>>>dir(__builtins__)[‘ArithmeticError‘,‘AssertionError‘,‘AttributeError‘,‘BaseExc..
分类:编程语言   时间:2016-07-02 14:38:03    阅读次数:171
FreeMarker-Built-ins for strings
http://freemarker.org/docs/ref_builtins_string.html Page Contents boolean cap_first capitalize chop_linebreak contains date, time, datetime ends_with ...
分类:其他好文   时间:2016-06-27 11:51:17    阅读次数:206
FreeMarker-Built-ins for numbers
http://freemarker.org/docs/ref_builtins_number.html#topic.extendedJavaDecimalFormat Page Contents abs c (when used with numerical value) is_infinite i ...
分类:其他好文   时间:2016-06-27 10:29:12    阅读次数:200
shell中exec解析(转)
参考:《linux命令、编辑器与shell编程》 《unix环境高级编程》 exec和source都属于bash内部命令(builtins commands),在bash下输入man exec或man source可以查看所有的内部命令信息。 bash shell的命令分为两类:外部命令和内部命令。 ...
分类:系统相关   时间:2016-06-18 23:58:55    阅读次数:357
Python3中的内置函数,实例讲解-每日持续更新
all>>>m=[] >>>n=[1,2,3] >>>l=[1,‘‘] >>>all(m) True >>>all(n) True >>>all(l) False >>>dirWithoutarguments,returnthelistofnamesinthecurrentlocalscope.eg:>>>dir() [‘__builtins__‘,‘__doc__..
分类:编程语言   时间:2016-06-13 19:25:10    阅读次数:206
vim golang dev
1.vundle 2. Plugin 'fatih/vim-go' 3 vim +GoInstallBinaries 4 cd $GOPATH/src/github.com/nsf/gocode/vim./update.bashgocode set propose-builtins truegoco ...
分类:系统相关   时间:2016-06-09 19:47:31    阅读次数:202
126条   上一页 1 ... 8 9 10 11 12 13 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!