You may export the data for n and alpha (as a function of wavelength, l) to file by adding the following lines to the python script given in the tutorial.
f = open('alpha.dat','w')
for i in range(len(l)):
temp = str(l[ i ]) + ' ' + str(alpha[ i ]) + ' \n'
f.write(temp)
f.close()
f = open('n.dat','w')
for i in range(len(l)):
temp = str(l[ i ]) + ' ' + str(n[ i ]) + ' \n'
f.write(temp)
f.close()
The data for refraction index (n) and absorption coefficient (alpha) are then saved to the 'n.dat' and 'alpha.dat' file, respectively. Note that the data are given in xy-format (x->wavelength l value and y->n or alpha value), and the files are just text files.