- print() input()
- quit() exit() # 交互模式 ctrl+D
- help() >>> help('__main__')
- dir()
- len() max() min()
- any() all() cmp()
- str() bool() int() float() complex()
- ord() chr()
- hex() oct() bin()
- sum() abs() round() pow()
- range()
- list() tuple() set() dict()
- bytes() bytearray()
- map() filter() sorted()
- reversed()
- copy() # 浅拷贝
- # 深拷贝 import copy copy.deepcopy()
- globals() locals()
- eval() exec()
- iter() next()
- zip() enumerate()
- open(file,mode='rt')
- 自定义类名() 构建函数
- isinstance(obj,class_or_tuple)
- issubclass(class, classinfo)
- id() type() repr()
- super()
- property(fget, fset, fdel, doc)
Python3.7 内建函数
最新推荐文章于 2021-08-18 10:01:14 发布