search speed

r rt8396 at gmail.com
Thu Jan 29 23:56:03 EST 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