(config_file, section, key)
| 1102 | |
| 1103 | ################################################## |
| 1104 | def get_conf_value(config_file, section, key): |
| 1105 | cp = configparser.ConfigParser(allow_no_value=True) |
| 1106 | with codecs.open(config_file, "r", encoding="utf-8") as f: |
| 1107 | cp.read_file(f) |
| 1108 | return cp.get(section, key) |
| 1109 | |
| 1110 | |
| 1111 | def mkdir(path): |