import scipy scipy.misc.imsave(‘a.jpg’, a) …
numpy.flip(m, axis=None) Reverse the order of elements …