Heim  >  Fragen und Antworten  >  Hauptteil

python - TypeError: sequence item 0: expected string, NoneType found

迷茫迷茫2741 Tage vor1429

Antworte allen(3)Ich werde antworten

  • 阿神

    阿神2017-04-18 09:25:45

    最好还是代码贴出来吧
    不过看错误提示,你是不是在item为none的时候取值用了item[0]

    Antwort
    0
  • ringa_lee

    ringa_lee2017-04-18 09:25:45

    我猜是 ','.join([None])

    TypeError: sequence item 0: expected string, NoneType found

    Antwort
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:25:45

    序列里面没东西,序列为空

    Antwort
    0
  • StornierenAntwort