"Chris Calloway" <cbc at unc.edu> wrote > >>> dbs = set(['oracle','mysql','postgres','infomix','access']) > >>> mine = set(['oracle','mysql','bdb']) > >>> dbs & mine > set(['oracle', 'mysql']) > >>> dbs - mine > set(['access', 'infomix', 'postgres']) Interesting. I didn't know about the & and - set operations. Thanks for the pointer. Alan G