Python · 类
字节
bytes(iterable_of_ints) -> bytes bytes(string, encoding[, errors]) -> bytes bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer bytes(int) -> bytes object of size given by the parameter initialized with null bytes bytes() -> empty bytes object
调用签名
字节字ZHONGWEN
PYTHON
PYTHON
Chinese example
中文代码示例
# 案例:查看 字节 的入口
设 功能 = 字节
打印(功能)可直接放进
.cs / .中py 文件运行。转换器会把中文代码交给真实 Python 解释器。Parameters
参数说明
此入口不需要额外参数,可直接调用或访问。
Playbook
基础用法 · 进阶组合 · 错误排查
# 案例:查看 字节 的入口
设 功能 = 字节
打印(功能)