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.
15 lines
196 B
15 lines
196 B
from namen import namen
|
|
|
|
f = open('namen.txt','w')
|
|
|
|
try:
|
|
for name in namen:
|
|
f.write(f'{name}\n')
|
|
except IOError as err:
|
|
print(f'I/O-Fehler {err}')
|
|
finally:
|
|
if f != None:
|
|
f.close()
|
|
|
|
|
|
|
|
|