f = open('adat.txt', 'a') f.write('Üdv\n') f.close()