moritz lutz schau dir was bei mir ab

master
Philipp Benning 2023-01-10 12:09:58 +01:00
parent 893b136e20
commit 070d773d51
3 changed files with 16 additions and 0 deletions

11
gottkönigphil.py 100644
View File

@ -0,0 +1,11 @@
import json
with open('z.B._pr3_skriptspr_team12_s2\input.txt', 'r') as infile, open('z.B._pr3_skriptspr_team12_s2\personen.json', 'w') as outfile:
for line in infile:
json.dump(line, outfile, indent = 2, ensure_ascii=False)

4
input.txt 100644
View File

@ -0,0 +1,4 @@
Dr. Philipp Gottkönig, Schloss 1 68161 Mannheim, 10.11.1995
Knecht Moritz Luttz, Kerker 4 198237918 Offenbach, 6 Winter ago

1
personen.json 100644
View File

@ -0,0 +1 @@
"Dr. Philipp Gottkönig, Schloss 1 68161 Mannheim, 10.11.1995\n""\n""Knecht Moritz Luttz, Kerker 4 198237918 Offenbach, 6 Winter ago\n""\n"