首页 > 编程语言 > 详细

python 内置函数汇总

时间:2015-01-15 12:27:47      阅读:280      评论:0      收藏:0      [点我收藏+]

有80个内置函数

官网 https://docs.python.org/2/library/functions.html

查询内置函数的功能描述用  help(内置函数名)

 

The Python interpreter has a number of functions built into it that are always available. They are listed here in alphabetical order.

 

 Built-in Functions  
abs() divmod() input() open() staticmethod()
all() enumerate() int() ord() str()
any() eval() isinstance() pow() sum()
basestring() execfile() issubclass() print() super()
bin() file() iter() property() tuple()
bool() filter() len() range() type()
bytearray() float() list() raw_input() unichr()
callable() format() locals() reduce() unicode()
chr() frozenset() long() reload() vars()
classmethod() getattr() map() repr() xrange()
cmp() globals() max() reversed() zip()
compile() hasattr() memoryview() round() __import__()
complex() hash() min() set() apply()
delattr() help() next() setattr() buffer()
dict() hex() object() slice() coerce()
dir() id() oct() sorted() intern()

 

python 内置函数汇总

原文:http://www.cnblogs.com/Thermo/p/4225739.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!