使用flashcard学习的小型cli工具

python-flashcards的Python项目详细描述


使用fl学习的小型cli工具

  • 免费软件:BSD许可证
docs/out.gif

安装

pip3 install python-flashcards

什么是抽认卡

A flashcard or flash card is a set of cards bearing information, as words or numbers, on either or both sides, used in classroom drills or in private study. One writes a question on a card and an answer overleaf. [Wikipedia]

这是如何工作的

python-flashcards是一个小工具,它从YAML文件接收卡片,并以随机顺序显示它们,以便您练习。

YAML格式:

-topic:The topic I will say out loudcontent:The information I'll check after saying out loud what I knowkeywords:reference, words-topic:Pythoncontent:Is a widely used high-level programming language for general-purpose programming,created by Guido van Rossum and first released in 1991.keywords:programming, language

唯一的选择是keyword

用法

让我们来看看anatomy.yaml是包含解剖学相关信息的文件。

flashcards anatomy.yaml

如果您想让卡片排列整齐:

flashcards --ordered meds.yaml

如果要显示隐藏主题而不是内容:

flashcards --inverted meds.yaml

有关更多帮助:

flashcards -h

开发

要运行所有测试,请运行:

tox

注意,要合并来自所有tox环境的覆盖率数据,请运行:

Windows^{pr 8}$
Other^{pr 9}$

更改日志

0.3.0(2018-11-27)

  • 添加隐藏主题而不是内容的功能。

0.1.0(2017-03-31)

  • pypi上的第一个版本。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java例外。Lang.Stringindexoutofboundsexception索引超出范围(0)   java Spring引导Freemarker从2.2.0升级失败   重构Java反模式名称?包含对象的对象包含。。。等   用java处理JDBC可能出现的死锁的最佳方法   java无法访问主线程上的数据库,因为它可能会在很长一段时间内锁定UI   java如何将固定大小的画布包装在边框窗格中的滚动窗格居中?   java解析xsd文件后得到空结果   在html页面中表示XML文件的java   socketjava对象流   sql Java越界异常数据库   JavaJBoss7.1.1不会在Mavericks上启动   Twincat ADS事件驱动读取在一段时间后停止工作(Java)   java MyBatis使用生成的ID插入所有   Mojave上缺少MacOS Java控制面板   JavaGuice:如果多次注入相同的依赖项,是否注入了该依赖项的相同实例?