I was wondering if theres a way where python can read through the lines of a text file searching for a key phrase then writing that line and all lines following it up to a certain point, such as until it sees a string of "---------------------" Right now I can only have python write just the line the key phrase is found in. Thanks, Victor