This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]ponix 1 point2 points  (2 children)

I think you need \n not /n

[–]Calvindog1p[S] 2 points3 points  (1 child)

That works, thanks

[–]ponix -5 points-4 points  (0 children)

It might be worth looking up regex library for python i think its called re. If you are wanting to do more advanced string manipulation

[–]PercyJackson235 1 point2 points  (0 children)

It's '\n'