Comment créer un fichier config txt sur Python
#No library mode
file = open("abc.txt", 'r')
content = file.read()
paths = content.split("\n")
for x in xs:
print x.split(" = ")[1]
x_list = []
x_dict = {}
for path in paths:
p = path.split(" = ")
path_list.append(p)[1]
path_dict[p[0]] = p[1]
Adventurous Antelope