DEBUG = True # DEBUG = False def debug_print(self, *args, sep=' ', end='\n', file=None): if DEBUG: print(self, *args, sep, end, file)