Johnny Lee enlightened us with: > Why the prompt followed after the output? Maybe it's not as > expected.
Because it did what you ask of it: write "012" to stdout, and nothing else. Hence, no newline at the end, hence the prompt is on the same line. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? Frank Zappa -- http://mail.python.org/mailman/listinfo/python-list