Movatterモバイル変換


[0]ホーム

URL:


IndexError: string index out of range

Jose' Sebrosasebrosa at artenumerica.com
Wed Apr 11 23:00:17 EDT 2001


f.readline() in your function function get_line() eventually returns '', andthen you are trying to extract the first element of an empty string:''[0]This produces an IndexError.Sebrosa


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp