def get_cell_type_from_inset_begin_line(begin_line):
    """Note this depends on the naming convention in the .module files.
    Returns a tuple (<basictype>,<language>).  For example,
    ("Standard", "Python")."""
    split_line = begin_line.split(":")
    language = split_line[-1].strip()
    basic_type = split_line[-2].strip()
    return basic_type, language