Capability library
每个功能,一个中文代码页面。
从 Python 内置能力到 Flask、数据库、AI、工业控制和动态库。搜索名称、签名或业务场景,打开页面即可复制运行。
当前找到 467 项
301Python · 基础 / Python 内置众数
(数据)↗302Python · 基础 / Python 内置标准差(数据) -> 'float'↗303Python · 基础 / Python 内置总体标准差(数据) -> 'float'↗304Python · 基础 / Python 内置方差(数据) -> 'float'↗305Python · 基础 / Python 内置总体方差(数据) -> 'float'↗306Python · 基础 / Python 内置分位数(数据, 分位: 'float' = 0.5)↗307Python · 基础 / Python 内置创建参数解析器(描述='')↗308Python · 基础 / Python 内置添加参数(解析器, 名称, 类型=<class 'str'>, 默认值=None, 帮助='', 必填=False, 选项=None)↗309Python · 基础 / Python 内置添加位置参数(解析器, 名称: 'str', **选项)↗310Python · 基础 / Python 内置添加可选参数(解析器, *标志, **选项)↗311Python · 基础 / Python 内置解析参数(解析器, 参数列表=None)↗312Python · 基础 / Python 内置解析已知参数(解析器, 参数列表=None)↗313Python · 基础 / Python 内置添加子命令(解析器, 名称, 帮助='')↗314Python · 基础 / Python 内置参数转字典(解析结果)↗315Python · 基础 / Python 内置运行命令(命令, 捕获输出=True, 超时=None, 工作目录=None, 环境变量=None)↗316Python · 基础 / Python 内置运行命令输出(命令列表, 文本模式: 'bool' = True, 超时秒: 'int' = None, 工作目录: 'str' = None) -> 'str'↗317Python · 基础 / Python 内置运行命令检查(命令列表, 文本模式: 'bool' = True, 超时秒: 'int' = None, 工作目录: 'str' = None) -> 'subprocess.CompletedProcess'↗318Python · 基础 / Python 内置管道命令(命令列表, 输入数据: 'str' = None, 文本模式: 'bool' = True, 超时秒: 'int' = None) -> 'subprocess.CompletedProcess'↗319Python · 基础 / Python 内置后台进程(命令列表, 文本模式: 'bool' = True, **选项)↗320Python · 基础 / Python 内置获取返回码(命令列表) -> 'int'↗321Python · 基础 / Python 内置获取输出(命令列表, 文本模式: 'bool' = True) -> 'str'↗322Python · 基础 / Python 内置运行命令管道(命令列表, 捕获输出=True)↗323Python · 基础 / Python 内置检查输出(命令, 超时=None)↗324Python · 基础 / Python 内置创建进程(命令, 标准输入=None, 标准输出=None, 标准错误=None)↗325Python · 基础 / Python 内置进程通信(进程, 输入数据=None, 超时=None)↗326Python · 基础 / Python 内置等待进程(进程, 超时=None)↗327Python · 基础 / Python 内置终止进程(进程)↗328Python · 基础 / Python 内置杀死进程(进程)↗329Python · 基础 / Python 内置进程返回码(进程)↗330Python · 基础 / Python 内置进程是否运行(进程)↗