python 内置函数汇总

有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()
原文地址:https://www.cnblogs.com/Thermo/p/4225739.html