Thanks, Kevin ! I knew it must be something simple, but I definitely
couldn't find it after a quick look of the python documentation.
As a matter of fact, I looked at the documentation python.org and I didn't
find any mention of the things that you mention. Could you please give me a
hint, where stuff like that can be looked up ? (I guess, other than the
Diversified Information Technologies
<kbutler@... To: Alex_Kotchnev@...
eline.com> cc: jython-users@...
Subject: Re: [Jython-users] Printing without a newline
Please respond to
>This is probably more of a python question, but I am really puzzled...
>How can I use "print" without getting the newline added after each item I
>am printing.. I mean that I ended up doing it with System.out.print
>("afadfa")... but it seems far from obvious to me.. I checked the
>documentation for python, and I coldn't find it right off the bat..
but that does add a space - if that isn't acceptable, sys.stdout.write():
>>> print "asdf",;print "zxcv"
>>> sys.stdout.write( "asdf" );print "zxcv"