parameters: (self, new_compiler_dir)
docstring: Set the compiler location, must be full path to an existing file.
docstring_summary: Set the compiler location, must be full path to an existing file.
docstring_tokens: Set the compiler location must be full path to an existing file .
function: def set_compiler_dir_from_file(self, new_compiler_dir):
          """Set the compiler location, must be full path to an existing file."""
          if os.path.exists(new_compiler_dir):
              self.__compiler_dir = new_compiler_dir
          else:
              print('The provided compiler path in the settings file is not '
                    'valid:')
              print('\t%s' % new_compiler_dir)
              self.set_compiler_dir_default()
              print('Default compiler path set:\n\t%s' % self.__compiler_dir)
function_tokens: def set_compiler_dir_from_file ( self , new_compiler_dir ) : if os . path . exists ( new_compiler_dir ) : self . __compiler_dir = new_compiler_dir else : print ( 'The provided compiler path in the settings file is not ' 'valid:' ) print ( '\t%s' % new_compiler_dir ) self . set_compiler_dir_default ( ) print ( 'Default compiler path set:\n\t%s' % self . __compiler_dir )