<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def non_empty_lines(path):
 """ Yield non-empty lines from file at path """

    with open(path) as f:
        for line in f:
            line = line.strip()
            if line:
                yield line