Skip to content

Conversation

@messyidea
Copy link

在网络不好的时候,urllib.urlopen()超时会让程序停止。
设置了超时时间,如果超时抛出异常返回False。

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

Successfully merging this pull request may close these issues.

1 participant