Created
October 22, 2018 12:33
-
-
Save santiago-salas-v/6825e3e846f6e4f68fb908b4c32db0d5 to your computer and use it in GitHub Desktop.
csv with comma decimal separator and defined delimiter character
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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