A whitespace is default, so you can write

    split_line = filter(len, line.split())