output problem

Jean-Paul VALENTIN Jean-Paul.VALENTIN at ingenico.com
Mon Jan 19 05:21:33 EST 2009


true, Windows automatically adds a newline after the program output.
But maybe there is a workaround?
When you launch x.bat containing no char, windows adds a newline after
the program output.
But when you launch x.bat finishing with at least one CRLF, windows does
not add a newline after the program output. I am not sure though whether
it is a windows feature...
So maybe with Python a similar condition could allow for obtaining the
same result...
 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
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
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090119/8af6925f/attachment-0001.html>


More information about the Python-list mailing list