Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range #5

Closed
zhangjibao opened this issue Mar 21, 2017 · 3 comments
Closed

list index out of range #5

zhangjibao opened this issue Mar 21, 2017 · 3 comments

Comments

@zhangjibao
Copy link

Error: list index out of range
Traceback (most recent call last):
File "E:\python\weiboSpider-master\weiboSpider.py", line 144, in writeTxt
text=str(i) + ':' + self.weibos[i-1] + '\n'+'点赞数:' + str(self.num_zan[i-1]) + ' 转发数:' + str(self.num_forwarding[i-1]) + ' 评论数:' + str(self.num_comment[i-1]) + '\n\n'
IndexError: list index out of range

请问,这个要怎么解决呢?

@bctclc
Copy link

bctclc commented Mar 22, 2017

同问!

@XiangyuShi
Copy link

同问,第一次还没问题,晚点再用就出问题了

@Lcarusd
Copy link

Lcarusd commented May 16, 2017

同问....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants