On 10/9/2017 12:22 PM, John Black wrote:
I want sep="" to be the default without having to specify it every time I
call print.  Is that possible?

John Black

Define a replacement print function that makes this the default. Something like (untested, a detail may be wrong):

_print = print
def print(*args, **kwargs):
    _print(*args, {'sep':''}.update(kwargs))


--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to