~johanvandegriff/BoggleSolver

ref: 575f79b9563259431ce7963d29976b14f432d040 BoggleSolver/deconvert.py -rw-r--r-- 213 bytes
575f79b9 — Johan Vandegriff Add files via upload 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/python
import sys
import pickle

if len(sys.argv) == 1:
  quit()

file = pickle.load(open(sys.argv[1],'r')) #import the file

board = file[0]

pickle.dump(board, open(sys.argv[1],'w')) #write the board