import os import numpy as np import cv2 #image = cv2.imdecode(np.fromfile(image_path,dtype=np.uint8),-1) str ="我是人才" haha = list(str) print(haha)