Run:
python assemble.py > foo.ly
and compile foo.ly using LilyPond.