{{ message }}
Functions
Directory actions
More options
Directory actions
More options
Functions
Folders and files
//Python解释器有许多内置功能总是可用的。他们是按字母顺序列在这里
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()
delattr() help() next() setattr()
dict() hex() object() slice()
dir() id() oct() sorted()
//
In addition, there are other four built-in functions that are no longer
considered essential: apply(), buffer(), coerce(), and intern(). They are
documented in the Non-essential Built-in Functions section.
