[Tutor] Searching list items.
Luke Paireepinart
rabidpoobear at gmail.com
Tue Oct 17 23:55:33 CEST 2006
Chris Hengge wrote:
> I remove those lines, but I was trying to use
> for line in contents:
> result = re.search("something", line)
> print result
I'm pretty sure this isn't how you use regular expressions.
I have to go to class right now but if no one else has replied when I
get back I'll look into it.
Sorry I can't help right now.
-Luke
>
> this printed out something like
>
> None
> None
> None
> hex memory address of goodness
> None
> None
More information about the Tutor
mailing list