python - How to change a text file's CR newlines to LF newlines?
怪我咯
怪我咯 2017-06-28 09:25:37
0
2
1397

How to replace the CR newline character of a text file with the LF newline character

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
为情所困

If it is a windows system, you can use Notepad instead. You should press ctrl+H (there is also a menu), a window will pop up, and then replace ^p (i.e. CR) with ^l (i.e. LF).

大家讲道理

Open with Notepad++.
Edit--"File Format Conversion--" (You can choose one of Windows-CRLF, Unix-LF, and Mac-CR)
You need to set the display line break to see the effect. View--"Show Symbols- -》Display end-of-line characters.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template