python内置函数
python内部提供了许多函数,大家可以直接使用。
本系列尽可能详细地学习这些内置函数,尤其是那些非常实用的内置函数。
一个一个更新......
内置函数 | ||||
---|---|---|---|---|
[abs()] | [dict()] | [help()] | min() | [setattr()] |
[all()] | [dir()] | [hex()] | [next()] | [slice()] |
[any()] | divmod() | [id()] | [object()] | sorted() |
[ascii()] | enumerate() | [input()] | [oct()] | [staticmethod()] |
[bin()] | [eval()] | [int()] | [open()] | [str()] |
[bool()] | exec() | [isinstance()] | [ord()] | [sum()] |
[bytearray()] | filter() | [issubclass()] | [pow()] | [super()] |
[bytes()] | [float()] | [iter()] | [print()] | [tuple()] |
[callable()] | format() | [len()] | [property()] | [type()] |
[chr()] | [frozenset()] | [list()] | range() | [vars()] |
[classmethod()] | [getattr()] | [locals()] | [repr()] | zip() |
[compile()] | [globals()] | map() | reversed() | |
[complex()] | [hasattr()] | max() | [round()] | |
[delattr()] | [hash()] | [memoryview()] | [set()] |
引用:有些内置函数的学习网上已经有很完美的博客解析,这里直接引用在本博客中。在此感谢前辈们的分享。
# 使用引用博客的函数如下:
max、map、zip、exec、