結果 : write 3d array to file python