Re: best(fastest) way to send and get lists from files

2008-02-05 Thread Nick Craig-Wood
Abrahams, Max <[EMAIL PROTECTED]> wrote: > > I've looked into pickle, dump, load, save, readlines(), etc. > > Which is the best method? Fastest? My lists tend to be around a thousand to > a million items. > > Binary and text files are both okay, text would be preferred in > general unless t

Re: best(fastest) way to send and get lists from files

2008-01-31 Thread Paddy
On Jan 31, 7:34 pm, "Abrahams, Max" <[EMAIL PROTECTED]> wrote: > I've looked into pickle, dump, load, save, readlines(), etc I've used the following sometimes: from pprint import pprint as pp print "data = \\" pp(data) That created a python file that could be read as a module, but there are limit

Re: best(fastest) way to send and get lists from files

2008-01-31 Thread Steve Holden
Abrahams, Max wrote: > I've looked into pickle, dump, load, save, readlines(), etc. > > Which is the best method? Fastest? My lists tend to be around a thousand to a > million items. > > Binary and text files are both okay, text would be preferred in general > unless there's a significant speed

Re: best(fastest) way to send and get lists from files

2008-01-31 Thread Yu-Xi Lim
Abrahams, Max wrote: > I've looked into pickle, dump, load, save, readlines(), etc. > > Which is the best method? Fastest? My lists tend to be around a thousand to a > million items. > > Binary and text files are both okay, text would be preferred in general > unless there's a significant speed

best(fastest) way to send and get lists from files

2008-01-31 Thread Abrahams, Max
I've looked into pickle, dump, load, save, readlines(), etc. Which is the best method? Fastest? My lists tend to be around a thousand to a million items. Binary and text files are both okay, text would be preferred in general unless there's a significant speed boost from something binary. tha