On Sat, Aug 22, 2009 at 11:25 PM, Nitebirdz <nitebi...@sacredchaos.com>wrote:

> On Thu, Aug 20, 2009 at 01:31:14PM +0800, 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.
> >
>
> Chances are it is related to whichever operating system and/or shell you
> are using.  For instance, this is taken from a system running Ubuntu
> Linux 8.04:
>
> -------------------------------------------------
> laptop:$ cat hello.py
> #!/usr/bin/env python
>
> print "Hello, there!"
> laptop:$ ./hello.py
> Hello, there!
> laptop:$ cat nothing.py
> #!/usr/bin/env python
>
> laptop:$ ./nothing.py
> laptop:$
> -------------------------------------------------
>
>
> As you can see, no blank line was printed out.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Hi,
I am using cywin on XP.

-- 
Life is the only flaw in an otherwise perfect nonexistence
   -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to