码迷,mamicode.com
首页 > 编程语言 > 详细

python 内置函数汇总

时间:2015-01-15 12:28:46      阅读:204      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!