<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_path_segment(self, value):
 """ Add a new path segment to the end of the current string :param string value: the new path segment to use Example:: 'http://example.com/foo/bar' """

        segments = self.path_segments() + (to_unicode(value),)
        return self.path_segments(segments)