from music21 import *
n = note.Note()
n.show()
c = corpus.parse('bwv66.6')
c.show()
us = environment.UserSettings()
storedShowFormat = us['ipythonShowFormat']
storedShowFormat
'ipython.vexflow'
us['ipythonShowFormat'] = 'ipython.lilypond.png'
c.show()
us['ipythonShowFormat'] = storedShowFormat
c.show()