On Wed, Jan 21, 2009 at 3:12 PM, Saul Spatz <ssp...@kcnet.com> wrote: > Strange. I don't have an explanation, but experiment shows that if you > change print "$ ", to print "$ " (that is, leave out the comma) then the > leading blank is not printed. This behavior doesn't depend on the "print > input" statement's being in a loop. > > By the way, you don't need parens around the loop guard in python: > while 1: (or as I prefer, while True:) work just fine.
http://codepad.org/f2XSwsPo This component I wrote - just for the hell of it - (just for this thread) works nicely :) cheers James -- http://mail.python.org/mailman/listinfo/python-list