Thanks.. In my case the csv solution is just fine, but it's good to know.

On Thu, Mar 6, 2014 at 4:47 PM, Christophe Bal <[email protected]> wrote:

> Hello,
> if you want to work with long table-array, it could be useful to use numpy.
>
>
> 2014-03-06 22:19 GMT+01:00 geo909 <[email protected]>:
>
>> 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.
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/FyoGDXJpohs/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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/d/optout.

Reply via email to