<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_path_from_sys_path(self):

 """Remove Spyder path from sys.path"""

        for path in self.path + self.project_path:
            while path in sys.path:
                sys.path.remove(path)