points是坐标矩阵 shape(n,3) thefile = open('/home/work/桌面/shi/003/end.obj', 'w') for item in points: thefile.write("v {0:.6} {1:.6} {2:.6}\n".format(item[0]