'Set the Excel calculation mode for the workbook.
Args:
mode: String containing one of:
* manual
* auto_except_tables
* auto
Returns:
Nothing.'

def set_calc_mode(self, mode, calc_id=None):

    self.calc_mode = mode
    if (mode == 'manual'):
        self.calc_on_load = False
    elif (mode == 'auto_except_tables'):
        self.calc_mode = 'autoNoTable'
    if calc_id:
        self.calc_id = calc_id
