Print function and spaces

Bjoern Paschen paschen at mavd.de
Thu Feb 5 12:36:06 EST 2004


On Thu, 05 Feb 2004 14:17:05 +0100, Diez B. Roggisch wrote:

> You function won't work on mixed-type args:
> A better way would be this:
> 
> def myprint(*args):
>   print "".join([str(x) for x in args])
Thanks. Works like a charm :)


-- 
_________________________________________________________________
Bjoern Paschen         ._--_. Panasonic AVC Networks Germany GmbH
paschen at mavd.de          --   Audio Video Technology Centre





More information about the Python-list mailing list