io.write_and_show

abjad.tools.io.write_and_show(expr, name, template=None, title=None, footer=None, lilytime=10, write=True)

When write = True (default) call write_ly(expr) and write_pdf(expr) and then open the resulting PDF.

When write = False call show(expr) only.

The purpose of this function is to conditionally save named PDF and named .ly output corresponding to expr.

New in version 1.1.1: Optional footer keyword.

Previous topic

io.show

Next topic

io.write_ly

This Page