list index()

Zentrader zentraders at gmail.com
Sun Sep 2 10:17:27 EDT 2007


On Aug 30, 11:23 am, zzbba... at aol.com wrote:
> Neil, Steve,
>
> Thanks for the responses on sets. I have not used them before and was
> not even aware Python had them. I will try them out.

And if there weren't sets you would still not use find or index but a
brute force method or dictionaries
for each in dir_a_list :
   if each not in dir_b_list :
      print each, "not in dir_b"




More information about the Python-list mailing list