notebook.community
Edit and run
Olvasás
file1 = open('adat.dat') egeszfile=file1.read() file1.close()
Írás
file1 =open('mentes.dat',mode='w') file1.write('Ez kerul a fileba') file1.close()
dat=loadtxt('adat.data')
savetxt('mentes',valtozo)