<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _appendpath_unique(list_, path):
 """Append path to list if not already in list"""

        for p in list_:
            if p == path:
                return
        list_.append(path)