Shortest path with Python

You can implement networkx. Here’s a recent example:

Or implement e.g. Dijkstra’s shortest path natively. Example here:

2 Likes