wiki.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:Jarvis 作者: sukeesh 项目源码 文件源码
def search(query, count=10, suggestion=False):
    """Do a Wikipedia search for a query, returns a list of 10 related items."""
    items = wikipedia.search(query, count, suggestion)
    if isinstance(items, list) and len(items) > 0:
        return items
    return "No articles with that name, try another item."
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号