AI library

Roberto Bonvallet Roberto.Bonvallet at cern.ch
Fri Dec 15 10:06:55 EST 2006


Felix Benner wrote:
[...]
>            def a-star(self, nodeFrom, nodeTo):
>                """searches the shortest path (minimal weight) from
>                nodeFrom to nodeTo."""
>                pass

>>> def a-star(self, nodeFrom, nodeTo):
  File "<stdin>", line 1
    def a-star(self, nodeFrom, nodeTo):
         ^
SyntaxError: invalid syntax

-- 
Roberto Bonvallet



More information about the Python-list mailing list