Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Carl Banks
On Jul 9, 1:16 pm, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I want to add an addit

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Sean
On Jul 9, 1:16 pm, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I want to add an addit

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Jerry Hill
On Thu, Jul 9, 2009 at 4:16 PM, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I want to

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Pablo Torres N.
Howdy, On Thu, Jul 9, 2009 at 15:16, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I wa

Re: Best way to add a "position" value to each item in a list

2009-07-09 Thread Sean
On Jul 9, 1:16 pm, Sean wrote: > I have a huge list, 10,000,000+ items.  Each item is a dictionary with > fields used to sort the list.  When I have completed sorting I want to > grab a page of items, say 1,000 of them which I do easily by using > list_data[x:x+1000] > > Now I want to add an addit