[Numpy-discussion] savetxt to a string?
Wed Dec 22 07:53:22 CST 2010
> On Wed, Dec 22, 2010 at 1:08 PM, Neal Becker <email@example.com> wrote:
>> Is the formatting of savetxt available with a string as the destination?
>> If not, shouldn't this functionality be factored out of savetxt?
> Have you tried using a StringIO handle?
Yup. But wouldn't it be cleaner to factor out this functionality and make
saving to a file use this?
More information about the NumPy-Discussion