Hello Out of curiosity, is there a better way in Python to iterate through an array, and return the index of each item that contains the bit somewhere in its value, ie. index() doesn't work because it only returns if the value only contains the item I'm looking for.
This works: ======== next = re.compile(">►<") i = 0 for item in items: m = next.search(item) if m: print "Found Next in item %s" % i i = i + 1 ======== Thank you. -- http://mail.python.org/mailman/listinfo/python-list