start new:
tmux
start new with session name:
tmux new -s myname
| #/usr/bin/python | |
| import sys | |
| import json | |
| # open grid file | |
| with open(sys.argv[1]) as f: | |
| lines = [line.rstrip('\n') for line in f] | |
| # make the grid but padded on left right and bottom sides with a sentinel like this (makes it easy to grab diagonals) |