def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def warn(txt, act, opt):
    if opt.get('display_examples'):
        print(txt + ":\n" + str(act))
    else:
        warn_once(txt)