Пример #1
0
from abjad.tools.topleveltools import mutate
from abjad.tools.topleveltools import new
from abjad.tools.topleveltools import override
from abjad.tools.topleveltools import parse
from abjad.tools.topleveltools import play
from abjad.tools.topleveltools import persist
from abjad.tools.topleveltools import select
from abjad.tools.topleveltools import set_
from abjad.tools.topleveltools import show

# import custom exceptions into the builtins module
import os
from abjad.tools.systemtools.ImportManager import ImportManager

ImportManager.import_public_names_from_path_into_namespace(
    os.path.join(__path__[0], 'tools', 'exceptiontools'),
    __builtins__,
)
del ImportManager
del os
del tools

# import version information
from abjad._version import __version_info__, __version__
del _version


def f(expr):
    print(format(expr, 'lilypond'))


from abjad import demos
Пример #2
0
from abjad.tools.topleveltools import mutate
from abjad.tools.topleveltools import new
from abjad.tools.topleveltools import override
from abjad.tools.topleveltools import parse
from abjad.tools.topleveltools import play
from abjad.tools.topleveltools import persist
from abjad.tools.topleveltools import select
from abjad.tools.topleveltools import sequence
from abjad.tools.topleveltools import set_
from abjad.tools.topleveltools import show

# import custom exceptions into the builtins module
import os
from abjad.tools.systemtools.ImportManager import ImportManager
ImportManager.import_public_names_from_path_into_namespace(
    os.path.join(__path__[0], 'tools', 'exceptiontools'),
    __builtins__,
    )
del ImportManager
del os
del tools

# import version information
from abjad._version import __version_info__, __version__
del _version

def f(expr):
    print(format(expr, 'lilypond'))

from abjad import demos
from abjad import ext
from abjad import ly