What a weird thing !!?
framiere at netcom-service.com
Fri Feb 18 22:00:19 CET 2000
Thanks for your answers,
in fact as Moshe Zadka told me, it is a documented feature ... (sorry)
Well, i should have read more carefully the doc (re-sorry)
And is there a solution to my problem ?
And sys.stdout.write is not a good solution for me (i need to keep
printing with print)
Is there an easy way to override the print statement (i saw it one time
in the news, but i can not find it)
Thanks for reading
bjorn <bjorn at roguewave.com> wrote in message
news:38ADB2FA.17A4D7A9 at roguewave.com...
Florent Rami?re wrote:
> here is something i do not understand ...
> Let's say i want to write two strings which must display "HELLO"
> 2 solutions to this problem:
> print "HEL" + "LO"
> print "HEL",
> print "LO",
> But this last solutions does not work !! Python inserts a white space
> I wanted "HELLO", python give me "HEL LO" !!!!
> I certainly have missed something, could you help me on this ?
> Thanks for reading this .
> Florent Ramière framiere at netcom-service.com
> Netcom http://www.netcom-service.com
> 15, rue de Rémusat - 75016 Paris
> Tel : 06-60-61-85-32 --- Fax : 01-42-30-50-55
More information about the Python-list