[EMAIL PROTECTED] writes: > if 'one' and 'two' in f: > alist.append(f)
Use: if 'one' in f and 'two' in f: ... -- http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] writes: > if 'one' and 'two' in f: > alist.append(f)
Use: if 'one' in f and 'two' in f: ... -- http://mail.python.org/mailman/listinfo/python-list