[python-win32] python print statements

Michel Claveau mc at mclaveau.com
Thu Jan 8 07:30:22 CET 2009


Hi!

1) Define your print function. Example:
    def mprint(*par):
        for i in par:
            print i,
        print

2) in your code, replace all  'print'  by  'mprint'

3) when you want cancel the print, modify only the mprint function. 


@-salutations
-- 
Michel Claveau 



More information about the python-win32 mailing list