An extraordinarily stupid question

Dan Bishop danb_83 at yahoo.com
Sat Apr 20 02:31:15 EDT 2002


Shane Hoversten <srh232 at nyu.edu> wrote in message news:<3CC0D892.2060006 at nyu.edu>...
> Hi -
> 
> 	This is really dumb, but I just want to print out a character without a 
> newline and without a space behind it.  You can't do:
> 
> print c,
> 
> 	Because Python puts a space behind it.  I can't find anywhere in the dox 
> that actually talk about "print" in any detail at all.  Surely there 
> must be some way to do this?

sys.stdout.write(c)



More information about the Python-list mailing list