如何通过 python 读取 csv 文件中存在的特殊字符定界符?

How to read special character delimiter present in csv files through python?

我有一个 CSV 文件,每行末尾都有分隔符 enter image description here

但是,我无法在 python 中读取它- 我想验证每一行之后是否存在该特殊字符:

enter image description here

我希望能够在阅读 python 时读取那个特殊字符。

谢谢

您认为的特殊字符是:

CR = Carriage Return

LF = Line Feed

您可以阅读链接是什么意思。它们如何用编程语言表示? CR+LF 等于 '\n' 所以你已经读过了。