1. 读文件
f.readlines()和f.read().splitlines()的区别:f.readlines()和f.read().splitlines()都是返回一个list,f.readlines()后面有加 ,f.read().splitlines()没有
2. np.unique
该函数是去除数组中的重复数字,并进行排序之后输出;
3. scipy.misc.imread()
用于从文件中读取图像作为数组;