I have a 3 column file, an example posted below
P1\tTitle\tName
P2\tTitle\Name
etc.
The file itself does not have any leading spaces, or spaces between the columns. But, when I use python's f.read().splitlines() and then print each line, I see each line printed with a leading and trailing space for each column/split. If I then try to strip each of these variables using strip(), the spaces don't go away (which makes me think they are not spaces, but another hidden char). I even tried regex to remove the space
re.sub(r'\W+', '', string)
But that did not work either. Am I missing something here?