search speed

r rt8396 at gmail.com
Fri Jan 30 05:56:03 CET 2009


On Jan 29, 5:51 pm, anders <anders.u.pers... at gmail.com> wrote:
> if file.findInFile("LF01"):
> Is there any library like this ??
> Best Regards
> Anders

Yea, it's called a for loop!

for line in file:
    if "string" in line:
        do_this()



More information about the Python-list mailing list