On Jan 29, 5:51 pm, anders <anders.u.pers...@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() -- http://mail.python.org/mailman/listinfo/python-list