demo_ref_compile.py:
x = compile('print(55)', 'test', 'eval') exec(x)
➜ begtut>python demo_compile.py
55