Hi Experts,

I have a file with below format

this is first file operation
x-1  "all the best"
x-2  "all the best 2 next line
         check this"
x-3  "last line"


i need extract the lines starting with x-1 and x-2, can some throw some
light on how to do?

Thanks,
Uma
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to