Diez B. Roggisch <[EMAIL PROTECTED]> wrote: ... > for uf in user_files: > uf = uf.strip().lower() > if uf: > file_skip_list.append(uf)
This is fine; however, another reasonable alternative is: if not uf.isspace(): file_skip_list.append(uf.strip().lower()) I prefer yours (it's simpler IMHO), but if I was doing a code review I would accept either of these. Alex -- http://mail.python.org/mailman/listinfo/python-list