Ok, didn't realize this was line buffered. I'll use print for the second statement in that case.