Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 1 year ago. Improve this question I have a log file which has 1000+ line in the below format I need to extract only particular message and
Tag: logparser
Python join three strings from different lines from log file into one line
I need to concatenate three different strings from different lines into one line. My log file looks like this: Error: Below is my code, which is writing in different lines: Any help much appreciated! Answer This happens because there are n at the end of the strings, you should write a helper function Or If you only want to remove