Eric_Dexter at msn.com wrote: > All I am after realy is to change this > > reline = re.line.split('instr', '/d$') If you think this is the only problem in your code, think again; almost every other line has an error or an unpythonic idiom. Have you read any tutorial or sample code before typing this python-like pseudocode ? George