Commit b991c7e2 authored by Otthorn's avatar Otthorn 🤔


parent edf98107
def parse_env(file):
f = open(file, "r")
L = f.readlines()
dico = {}
for k in range(len(L)):
L[k] = L[k].strip("\n")
L[k] = L[k].split(" ")
dico[L[k][0]] = L[k][2]
return dico
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment