I finally decided to use the csv goodies of python as described here:
http://docs.python.org/2/library/csv.html

On Thursday, March 6, 2014 11:56:22 AM UTC-5, geo909 wrote:
>
> Dear all,
>
> I kindly ask for your feedback on the following.
>
> My work involves the use of big lists that are of two kinds:
> a) lists of integers
> b) lists of lists of integers 
>
> The contents of those lists come from quite long computations and I need 
> to reuse those tuples often, 
> so it is necessary to store those lists and retrieve them later, instead 
> of recomputing all the elements 
> everytime. It would also be great if they are stored in a way such that 
> they are human-readable; the 
> way I think of it, every element would be in another line, so that when I 
> see them in my text editor, I 
> can see the row number next to the element, and thus know the index of the 
> element in the list. 
>
> What do you recommend I should do for importing/exporting those lists to 
> human-readable files? Any
> particular function or format (e.g. txt, csv, etc) that I should use?
>
> Any feedback would be greatly appreciated.
>
> George
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to