Python 的 Ruby 超时?
有谁知道在Python中实现类似于Ruby超时功能的好解决方案吗? 我用谷歌搜索了一下,并没有看到任何很好的东西。 谢谢您的帮助。
这是 Ruby 文档的链接 http://www.ruby-doc.org/stdlib/ libdoc/timeout/rdoc/index.html
Does anyone know a good solution for implementing a function similar to Ruby's timeout in Python? I've googled it and didn't really see anything very good. Thanks for the help.
Here's a link to the Ruby documentation
http://www.ruby-doc.org/stdlib/libdoc/timeout/rdoc/index.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自:
http://code.activestate.com/recipes/473878/
from:
http://code.activestate.com/recipes/473878/