chessboard.api.io.saveData

chessboard.api.io.saveData(data, file)

Save the current state of a CHESSBOARD object.

Save the current state of a CHESSBOARD object using pickle which can be loaded using :func: chessboard.api.io.loadCBObject

Parameters
  • data (Data) – CHESSBOARD object to be saved.

  • file (str) – Path to output file.