Browse Source

Update 'maze.py'

master
tsere 5 years ago
parent
commit
32451b4797
  1. 4
      maze.py

4
maze.py

@ -286,13 +286,13 @@ while True:
print('ignore') print('ignore')
continue continue
move() move()
y=createJson()
ser.write(str(y).encode())
f = open('output.txt', 'w', encoding=('utf-8')) f = open('output.txt', 'w', encoding=('utf-8'))
for j in maze: for j in maze:
print(j) print(j)
f.write(str(j)) f.write(str(j))
f.write('\n\n') f.write('\n\n')
f.close() f.close()
y=createJson()
ser.write(str(y).encode())
except: except:
pass pass

Loading…
Cancel
Save