yea i tried using .write() as well with the same results. Yes it can write to the file apparantly since it writes the first line, but once its in the loop nothing.