list index()

Zentrader zentraders at
Sun Sep 2 16:17:27 CEST 2007

On Aug 30, 11:23 am, zzbba... at 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