IndexError:string index out of range IndexError:string index out of range 出现在下标越界的情况,如 item[1],可能为空的时候下标就会越界