Wrong: newpath = find_path(self.dictionary, node, end, path) newpaths = find_all_paths(self.dictionary, node, end, path) newpath = find_shortest_path(self.dictionary, node, end, path)
Correct; newpath = self.find_path(self.dictionary, node, end, path) newpaths = self.find_all_paths(self.dictionary, node, end, path) newpath = self.find_shortest_path(self.dictionary, node, end, path) Regards Roopesh -- http://mail.python.org/mailman/listinfo/python-list