I am new to Python. I have this Code with me http://code.activestate.com/recipes/577519-a-star-shortest-path-algorithm/history/1/
its the A star algorithm code. I wanted to know how exactly is it generating the obstacles. Basically I have a black and white image. My task is to reach the end point from the start point avoiding the white spaces. Please help me Thank you!