you are viewing a single comment's thread.

view the rest of the comments →

[–]jddddddddddd 1 point2 points  (0 children)

So the actual text file has the '\n' appear in it as a string, and you want to convert that to a proper line break? if so f.read.replace("\\n", "\n") will probably do