@staticmethod<EOL><INDENT>def get_value_from_cfg(cfg_file):<DEDENT>
if not os.path.isfile(cfg_file):<EOL><INDENT>return<EOL><DEDENT>cfg = {}   <EOL>config = ConfigParser.RawConfigParser()<EOL>try:<EOL><INDENT>config.read(cfg_file)<EOL><DEDENT>except Exception as e:<EOL><INDENT>raise Exception("<STR_LIT>" %(e))<EOL>
initial the configuration with file that you specify 
            Sample usage:            
                config = get_value_from_cfg()            
            return:
                return a dict        -->config[section][option]  such as config["twsm"]["dut_ip"]