#!/usr/bin/env python3 from pacmap import decode_map import sys if __name__ == '__main__': if len(sys.argv) > 1: matrix = decode_map(sys.argv[1]) else: matrix = decode_map("../pacmap_maze1.png") for row in matrix: print() for el in row: print(el.value, end=' ')