#NEWLINE# def set_calc_mode( self , mode , calc_id = None ) : #NEWLINE# #INDENT# '\n        Set the Excel calculation mode for the workbook.\n\n        Args:\n            mode: String containing one of:\n                * manual\n                * auto_except_tables\n                * auto\n\n        Returns:\n            Nothing.\n\n        ' #NEWLINE# self . calc_mode = mode #NEWLINE# if ( mode == 'manual' ) : #NEWLINE# #INDENT# self . calc_on_load = False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self == 'auto_except_tables' ) : #NEWLINE# #INDENT# self . calc_mode = 'autoNoTable' #NEWLINE# #UNINDENT# #UNINDENT# if calc_id : #NEWLINE# #INDENT# self . calc_id = calc_id