Hi,<br><br>The .npy/.npz extensions are just suggestions and can be replaced with something application-specific according to the NEP (see "Conventions" in <a href="http://svn.scipy.org/svn/numpy/trunk/doc/neps/npy-format.txt">http://svn.scipy.org/svn/numpy/trunk/doc/neps/npy-format.txt</a>). However the code in save/savez does not seem to allow this. Pass in 'filename.ext' and out comes 'filename.ext.npy'. The relevant code in `save` is:<br>
<br>if isinstance(file, basestring):<br>        if not file.endswith('.npy'):<br>            file = file + '.npy'<br><br>Replacing the second line with:<br>  if not os.path.splitext(file)[1]:<br>would fix it I think. Same for `savez`. `load` does the correct thing, it only cares about the magic string and not the extension.<br>
<br>Should save/savez allow other extensions? If so, should I open a ticket and attach this as a patch?<br><br>Cheers,<br>Ralf<br><br>