def __init__(self, stream): self._root = os.path.split(stream.name)[0] super(Loader, self).__init__(stream)