Doh, the first example should of cours be:

  b = []
  for x in a:
      if len(x) > 4:
          b.append(x)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to