def put_chess(self):
     self.fen = Record.FEN_Record(self.read())
     state = self.fen._import()[1]
     for col in range(10):
         for row in range(9):
             chess_kind = state[row][col]
             if chess_kind != -1:
                 # print chess_kind, row, col
                 self.pack((row, col), chess_kind)
    def __init__(self, root):
        a = 60
        b = 80
        l = 50
        self.choose = False
        self.choosed_chess = False
        self.xing_qi = True

        self.root = root
        self.Board = Board.Board(root, a, b, l)
        self.front_display()
        self.Board.canvas.bind('<Button-1>', self.move)
        self.che_record = Record.CHE_Record(self.Board)
        self.log_record = Record.FEN_Record()
        self.fen = ''