🌈 搜索
📅  最后修改于: 2022-03-11 14:46:41.659000             🧑  作者: Mango
a_string = "abc" encoded_string = a_string. encode() byte_array = bytearray(encoded_string) print(byte_array)