From: Peter Hickman Date: 2011-11-14T02:28:26+09:00 Subject: Re: Syntax Error The line: price = row[2].to_f # fetch, convert from string, and store in `price variable` should be a single line but has probably been wrapped by thew mail program. Either join the two lines together or just delete 'price variable'.