这篇文章将为大家详细讲解有关python强大的个人终端助理 Yoda,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。
前言
Yoda 是一个智能、强大的命令行个人助理,可以帮助您完成一些琐碎的任务,由 Python 编写而成。
用法
Yoda 包含一个简单的聊天机器人。您可以使用下面的聊天命令与它交互。$ yoda chat who are you
样例输出:
Yoda speaks:I'm a virtual agent$ yoda chat how are youI'm doing very well. Thanks!
测试互联网速度:
$ yoda speedtestSpeed test results:Ping: 108.45 msDownload: 0.75 Mb/sUpload: 1.95 Mb/s
创建一个新的日记:
看个简介
$ yoda diary nnInput your entry for note:Today I learned about Yoda
阅读 Hacker News:
$ yoda hackernewsNews-- 1/513Title-- Show HN: a Yelp for iOS developersDescription-- I came up with this idea "a Yelp for developers" when talking with my colleagues. My hypothesis is that, it would be very helpful if we know more about a library before choosing to use it. It's similar to that we want to know more about a restaurant by checki…url--news.ycombinator.com/item?id=16636071Continue? [press-"y"]
创建新任务:
$ yoda diary ntInput your entry for task:Write an article about Yoda and publish it on OSTechNix
查看任务列表:
$ yoda diary tasksToday's agenda:Status | Time | Text-------|---------|-----O | 16:44:03: Write an article about Yoda and publish it on OSTechNixSummary:Incomplete tasks: 1Completed tasks: 0
关于python强大的个人终端助理 Yoda就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。