Skip to content

Instantly share code, notes, and snippets.

@santiago-salas-v
Created October 22, 2018 12:33
Show Gist options
  • Save santiago-salas-v/6825e3e846f6e4f68fb908b4c32db0d5 to your computer and use it in GitHub Desktop.
Save santiago-salas-v/6825e3e846f6e4f68fb908b4c32db0d5 to your computer and use it in GitHub Desktop.
csv with comma decimal separator and defined delimiter character
x=1
file=open('Daten.csv', mode='w')
file.write('sep= \n')
for line in open('Kalibrierung Spektren.Master.Absorbance'):
if x>19 and x<2068:
file.write(line.replace('.',','))
x+=1
file.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment