def _boilerplate_to_python(indent):
    """Get starting boilerplate code for VB to Python JIT code.

    @param indent (int) The number of spaces to indent the generated
    Python code.
    
    @return (str) The boilerplate Python code for the beginning of a
    Python JIT code block.

    """
    indent_str = " " * indent
    boilerplate = indent_str + "import core.vba_library\n"
    boilerplate = indent_str + "import core.vba_context\n"
    boilerplate += indent_str + "from core.utils import safe_print\n"
    boilerplate += indent_str + "from core.utils import safe_str_convert\n"
    boilerplate += indent_str + "from core.utils import plus\n"
    boilerplate += indent_str + "from core.utils import eq\n"
    boilerplate += indent_str + "from core.utils import neq\n"
    boilerplate += indent_str + "from core.utils import lt\n"
    boilerplate += indent_str + "from core.utils import lte\n"
    boilerplate += indent_str + "from core.utils import gt\n"
    boilerplate += indent_str + "from core.utils import gte\n"
    boilerplate += indent_str + "import core.utils\n"
    boilerplate += indent_str + "from core.python_jit import update_array\n"
    boilerplate += indent_str + "from core.vba_conversion import coerce_to_num\n"
    boilerplate += indent_str + "from core.vba_conversion import coerce_to_int\n"
    boilerplate += indent_str + "from core.vba_conversion import coerce_to_str\n"
    boilerplate += indent_str + "from core.vba_conversion import coerce_to_int_list\n\n"
    boilerplate += indent_str + "try:\n"
    boilerplate += indent_str + " " * 4 + "vm_context\n"
    boilerplate += indent_str + "except (NameError, UnboundLocalError):\n"
    boilerplate += indent_str + " " * 4 + "vm_context = context\n"
    return boilerplate