hai,
i want to create a code to searcha big document in text format and sort one word say "error" and need to print that whole line ....how can i implement this simply in python
openfile = open('/home/space/Desktop/test.txt', 'r')
data=openfile.read()
words=data.split()
#print words
if "error" in data: