output problem

Jean-Paul VALENTIN Jean-Paul.VALENTIN at ingenico.com
Fri Jan 16 16:24:52 CET 2009

Feature? the output of below Hello program he0.py started from command
line looks as follows:

'Hello' was sent with sys.stdout.write, so "without newline".
But why cannot be output (more logically):

Is it normal? Is there any means or workaround to obtain that output if
I wish??
#-*- coding: iso-8859-15 -*-
import sys

About Ingenico: Ingenico is the world's leading provider of payment solutions, with over 15 million terminals deployed across the globe. Delivering the very latest secure electronic payment technologies, transaction management and the widest range of value added services, Ingenico is shaping the future direction of the payment solutions market. Leveraging on its global presence and local expertise, Ingenico is reinforcing its leadership by taking banks and businesses beyond payment through offering comprehensive solutions, a true source of differentiation and new revenues streams.
 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
 P Please consider the environment before printing this e-mail

More information about the Python-list mailing list