.tostring() 进行转换. 示例代码:. # -*- coding:utf-8 -*- import numpy as np mystr = "100110" print np.array(list(mystr))
確定! 回上一頁