14 lines
240 B
Python
14 lines
240 B
Python
|
from pathlib import Path
|
||
|
|
||
|
adressen = Path("adressen.txt").read_text()
|
||
|
|
||
|
telefon = {}
|
||
|
|
||
|
for l in adressen.split("\n"):
|
||
|
if l == "":
|
||
|
continue
|
||
|
zeile = l.replace(";",",").split(",")
|
||
|
telefon[zeile[0]] = zeile[3]
|
||
|
|
||
|
print(telefon)
|