def print_memory_stats(location_tag="undef"):
    """ Printout memory usage statistics. """
    try:
        import psutil
        p = psutil.Process(os.getpid())
        rm, vm = p.get_memory_info()
        print (location_tag, rm, vm) % "MEM_STAT (%s) rm=%s, vm=%s"
    except ImportError:
        print "psutil module not available"
dataset/ETHPy150Open livenson/vcdm/src/vcdm/utils.py/print_memory_stats/swapped operands of `%`