标签: python
How to grep full trace log based on a keyword like 'Outofmemory' in Python as I tried readline() to grep the line instead of entire log trace. Share the snippet, please.
readline()