Capability library
每个功能,一个中文代码页面。
从 Python 内置能力到 Flask、数据库、AI、工业控制和动态库。搜索名称、签名或业务场景,打开页面即可复制运行。
当前找到 467 项
241Python · 基础 / Python 内置协议
()↗242Python · 基础 / Python 内置字面量(*args, **kwds)↗243Python · 基础 / Python 内置最终(*args, **kwds)↗244Python · 基础 / Python 内置类型别名(*args, **kwds)↗245Python · 基础 / Python 内置类型字典(typename, fields=<sentinel>, /, *, total=True)↗246Python · 基础 / Python 内置命名元组类型(typename, fields=<sentinel>, /, **kwargs)↗247Python · 基础 / Python 内置类类型(*args, **kwargs)↗248Python · 基础 / Python 内置无返回(*args, **kwds)↗249Python · 基础 / Python 内置类型守卫(*args, **kwds)↗250Python · 基础 / Python 内置重载(func)↗251Python · 基础 / Python 内置运行时检查(cls)↗252Python · 基础 / Python 内置随机小数() -> 'float'↗253Python · 基础 / Python 内置随机整数(起始: 'int', 结束: 'int') -> 'int'↗254Python · 基础 / Python 内置随机范围(起始, 结束, 步长: 'int' = 1)↗255Python · 基础 / Python 内置随机选择(序列)↗256Python · 基础 / Python 内置随机选择多个(序列, 数量: 'int', 可重复: 'bool' = False)↗257Python · 基础 / Python 内置随机打乱(序列)↗258Python · 基础 / Python 内置均匀分布(最小值: 'float', 最大值: 'float') -> 'float'↗259Python · 基础 / Python 内置高斯分布(均值: 'float' = 0, 标准差: 'float' = 1) -> 'float'↗260Python · 基础 / Python 内置正态分布(均值: 'float' = 0, 标准差: 'float' = 1) -> 'float'↗261Python · 基础 / Python 内置设置随机种子(种子)↗262Python · 基础 / Python 内置随机字节(长度: 'int') -> 'bytes'↗263Python · 基础 / Python 内置圆周率() -> 'float'↗264Python · 基础 / Python 内置自然常数() -> 'float'↗265Python · 基础 / Python 内置正无穷() -> 'float'↗266Python · 基础 / Python 内置非数字() -> 'float'↗267Python · 基础 / Python 内置平方根(值: 'float') -> 'float'↗268Python · 基础 / Python 内置幂运算(底数, 指数)↗269Python · 基础 / Python 内置对数(值, 底数: 'float' = 2.718281828459045)↗270Python · 基础 / Python 内置常用对数(值)↗