random writing access to a file in Python

Paul Rubin http
Sat Aug 26 15:35:16 EDT 2006


Claudio Grondi <claudio.grondi at freenet.de> writes:
> Is there a ready to use (free, best Open Source) tool able to sort
> lines (each line appr. 20 bytes long) of a XXX GByte large text file
> (i.e. in place) taking full advantage of available memory to speed up
> the process as much as possible?

Try the standard Unix/Linux sort utility.  Use the --buffer-size=SIZE
to tell it how much memory to use.



More information about the Python-list mailing list