def print_game(game):
	game = " ".join(game)
	game = re.sub("\d+\.", " ", game).strip()
	moves = re.split("\s+", game)
	board = chess.Bitboard()
	
	end = moves[-1]
	moves = moves[:-1]
	
	after_str = str(board)
	for move in moves:
		before_str = after_str
		mv = board.push_san(move)
		after_str = str(board)
		# Piece that moved
		piece = board.piece_at(mv.to_square)
		
		sys.stdout.write("%s\t%s\t%s\n"%(piece,before_str,after_str))
Setting tag[key] sets the value of the 'key' attribute for the
dataset/ETHPy150Open nivm/learningchess/chess/process_data.py/print_game--crossover with--dataset/ETHPy150Open socketubs/pyhn/pyhn/lib/bs4_py3/element.py/Tag.__setitem__