On 04/10/2017 07:17 PM, Steven D'Aprano wrote: > On Mon, Apr 10, 2017 at 02:10:34PM +0000, Allan Tanaka via Tutor wrote: >> Hi. >> Is there a way to save module type data into .npy file that can be used >> latter? > > What's "module type data"? > > What's a .npy file? > > To answer your question, literally, the answer is "Yes, of course. > Python can save ANY data into a file with ANY file extention". But I > guess that answer isn't helpful to you if you need to save specific data > to a specific file format. > > But without knowing what that specific data is, and the specific format, > how can we answer? > > >
.npy is a (the?) NumPy format. Sadly, I know no more than that... maybe this is of use (quick search): https://docs.scipy.org/doc/numpy/reference/generated/numpy.save.html _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor