You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
162 B

3 years ago
#!/usr/bin/env python3
import configparser as cp
config = cp.ConfigParser()
config.read('manage_sql/conf.ini')
valeur = config.get('sql', 'host')
print(valeur)