Pickles

Grzegorz Chrupała grzegorz at pithekos.net
Sat Oct 2 22:37:24 CEST 2004


On Sat 02 Oct 2004 19:44, Robin Lee Powell wrote:
> On Sat, Oct 02, 2004 at 11:44:32AM +0200, Grzegorz Chrupa??a wrote:
> > Is it possible to pickle more than one value to a file, and later
> > extract them sequentially? If not, would it be difficult to
> > implement?
>
> You could put the values in a list.
The point would be not to have to keep all the values in memory at once. 
For example when you want to process lots of data items (such as 
sentences in a linguistic corpus) and store the result for each item as 
soon as you finish processing it.
Cheers,
-- 
Grzegorz Chrupała 





More information about the mozart-users mailing list