Find Lines in Multiple Files


Write a python program to print only those lines in a list of files that has a particular word

Here, I am looking for a word ‘print’ in a list of python files.



Generator Expressions are generator version of list comprehensions. They look like list comprehensions, but returns a generator back instead of a list.


Do share your feedback in comments to help us adding more programs like this.

Checkout more Python Programs

Click here

Leave a Reply

bodrum escort - eski┼čehir esc - mersin escort - mersin escort bayan - mersin esc