On Thu, 4 Jun 2009 01:21:06 -0700 (PDT)
Nicolas <[email protected]> wrote:

> 
> This is almost what I want to do. I had figured out that trick but my
> problem is that the line that is input is, in my case, really long and
> gulps a lot of memory.
> 
> Thus, to save memory, I need to read the numbers one by one (or a
> small bunch of them at a time). It seems I have to read line by line,
> which in my case of a really long line, is not easy.
> 
> Thanks anyhow !

See here:

http://stackoverflow.com/questions/417703/python-c-like-stream-input


Cheers,
Burcin

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to