On Wed, 14 Dec 2005 15:27:58 -0800, TY wrote:

> So I guess then my next question is why does adding comma to print
> statement cause buffering, but not when you don't have comma?

Because of the line buffering. If you don't have a comma at the end, the
print statement prints the numeric value and a newline, which signals the
end of the line.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to