Python: List index out of range

Python: List index out of range

Nisha Kiran

6 лет назад

18,319 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Oreo222
Oreo222 - 04.02.2020 01:19

Thank you so much

Ответить
LaserGamer28
LaserGamer28 - 06.09.2019 01:59

This method doesn't work with lists of strings right? ToT

Ответить
Abel
Abel - 18.05.2019 17:44

i love you !

Ответить
Sam
Sam - 30.04.2019 23:52

Thank you.

Ответить
Reshak Narayan
Reshak Narayan - 09.02.2019 23:00

Super, saved my day.

Ответить
sahitya yerubandi
sahitya yerubandi - 28.01.2019 05:45

Hi, I am having the same issue as list out of index. But I am not changing the list as I am giving the cmd- for i in range(10)
And then running the find_all cmd for a specific HTML tag and attribute.
Something like - (str(parsed.find_all("a",{'class':'title'})[i]).split("=")[1]
And the code throws an error at the above line.
All I am trying to do is loop through the above cmd for a set number of times and write the output of the cmd to a file.

Ответить
nastastic
nastastic - 17.01.2019 01:03

This women is shithot at debugging. Please make more python vids

Ответить
Soumen Ghosh
Soumen Ghosh - 24.04.2018 12:09

I don’t know your name, hon, but your video is awesome! You’ve just debugged my code👍

Ответить