Aug-07-2018, 02:00 PM
(This post was last modified: Aug-07-2018, 02:00 PM by SchroedingersLion.)
(Aug-07-2018, 01:25 PM)buran Wrote:(Aug-07-2018, 12:54 PM)SchroedingersLion Wrote: Sth wrong with the spaces?Check that you don't have extra spaces.
useprint(repr(row[0]))
andprint(repr(row[1]))
to see what you actually work with.
I have two spaces between the columns. But adding a second space in your code does not seem to work.
Those two commands give (only copied last output lines):
'99.95'
''
'99.96'
''
'99.97'
''
'99.98'
''
'99.99'
''
'100'
''
Where the numbers are the last numbers of my first column. Seems like the second space is the problem then. Can I still make it work? The file is too large for manual removal of the second space character.