> > > if start == end: > > return path > > if not self.dictionary.has_key(start): > > if start not in self.dictionnary: > > > return None > > for node in self.dictionary[start]: > > if node not in path: > > newpath = find_path(self.dictionary, node, end, path) > > newpath = self.find_path(...) > > (snip remaining code - same problems, same solutions...)
it is to incoherent fo follow what you mean here(not meaning to sound rude i appreciate the help). -- http://mail.python.org/mailman/listinfo/python-list