<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _rel_path(self, path, basepath=None):
 """ trim off basepath """

        basepath = basepath or self.src_dir
        return path[len(basepath) + 1:]