On Fri, Nov 1, 2013 at 12:53 PM, Chris Angelico <ros...@gmail.com> wrote:
> orig_print = print
> def print(fmt, *args, **kwargs):
>     orig_print(fmt%args, **kwargs)

PS. To be courteous to subsequent developers, you might want to
instead leave print as it is, and create your own printf:

def printf(fmt, *args, **kwargs):
    print(fmt%args, **kwargs)

Take your pick, whichever way works for you.

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

Reply via email to