<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_path(self, path, **kwargs):
 """Create nodes required to complete path."""


        i = 0
        while i < len(path):
            i = path.find("/", i)

            if i < 0:
                return

            subpath = path[:i]

            if i > 0:
                try:
                    yield self.create(subpath, **kwargs)
                except NodeExistsException:
                    pass

            i += 1