What a weird thing !!?

Gerrit Holl gerrit.holl at pobox.com
Fri Feb 18 16:53:38 EST 2000


Florent Ramière wrote on 950907619:
> 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)

No. You can't override statements. print is a statement as if, while and
for are statements.

regards,
Gerrit.

-- 
cat: /home/gerrit/.signature: No such quote or joke




More information about the Python-list mailing list