[Tutor] searching in files

Alan Gauld alan.gauld at blueyonder.co.uk
Thu Aug 12 00:14:28 CEST 2004


> Yes I know the method readlines but the file is enorm large 

In that case use xreadlines(), it will only read the lines 
as you ask for them not all at once.

HTH,

Alan G.



More information about the Tutor mailing list