Steven Woody wrote:
Hi,
Any python program, even that does absolutely nothing in the code, will
cause a blank line printed out when the program exit. What's the reason?
Thanks.
I think the "blank line" is coming from your shell. In Windows, I
believe the shell emits a newline after running a program, probably to
make sure the prompt starts in column 0.
Note that if your python program writes a partial line to stdout, this
will "finish" the line before giving you the next prompt. So the line
isn't necessarily blank.
DaveA
--
http://mail.python.org/mailman/listinfo/python-list