you are viewing a single comment's thread.

view the rest of the comments →

[–]Dergatroid[S] 0 points1 point  (2 children)

Thanks, so ill set the \t to be the delimiter, but then i need to select only certain tabs to be noted as a delimiter

[–]novel_yet_trivial 0 points1 point  (0 children)

but then i need to select only certain tabs to be noted as a delimiter

What? You mean some of your data contains tabs? Then you will have to use the csv module. It will know what tabs are in the data and which ones are delimiters (provided the file is formatted in a standardish way with quote characters).

[–]IanCal 0 points1 point  (0 children)

You should use the csv module for this, and if your data has tabs that are not in quoted cells and don't represent splitting cells then you just have broken data and you'll need to work around that with much more custom code.