<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_by_name(self, name):
 """ returns an object Project which matches name """

        for p in self.project_list:
            if p.nme == name:
                return p
        return None