📜  python字符串到char数组 - Python代码示例

📅  最后修改于: 2022-03-11 14:46:00.923000             🧑  作者: Mango

代码示例3
fd = open(filename, 'rU')
chars = []
for line in fd:
    chars.extend(line)