maze/bin/solve_file.py

7 lines
103 B
Python
Raw Normal View History

import sys
from maze import parse_maze
m = parse_maze(open(sys.argv[1], 'r').read())
print m.solve()