Python - File Reading and Writing Strategies
You need to process a huge log file and write only lines containing the word 'ERROR' to a new file. Which approach is best to handle this efficiently?
You need to process a huge log file and write only lines containing the word 'ERROR' to a new file. Which approach is best to handle this efficiently?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions