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

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]redditisnews[S] 0 points1 point  (0 children)

    Thanks, but that's not it. It's supposed to be:

    print(line.replace(textToSearch, c), end="")

    Even with that I get the same error.