how to avoid line return when using python -c 'print foo'

2008-07-18 Thread TP
Hi everybody, All my problem is in the title. If I try: $ python -c 'print foo,' It does not change anything, surely because the line return is added by python -c. Thanks in advance Julien -- TP (Tribulations Parallèles) Allez, Monsieur, allez, et la foi vous viendra. (D'Alembert). --

Re: how to avoid line return when using python -c 'print foo'

2008-07-18 Thread Marc 'BlackJack' Rintsch
On Fri, 18 Jul 2008 23:04:06 +0200, TP wrote: All my problem is in the title. If I try: $ python -c 'print foo,' It does not change anything, surely because the line return is added by python -c. It is added by the interpreter at exit time. The interpreter tries to be smart here