On 9/16/2010 11:27 AM Michael Powe said...
Hello,I have two lists. alist = ['label', 'guid'] blist = ['column0label', 'column1label', 'dimension0guid', 'description', 'columnid']
Something like this? >>> [ ii for jj in alist for ii in blist if jj in ii ] ['column0label', 'column1label', 'dimension0guid'] Emile _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor