1 Star 1 Fork 0

橙子++ / kindle2anki

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
create_one_card.py 570 Bytes
一键复制 编辑 原始数据 按行查看 历史
Samim Pezeshki 提交于 2016-08-08 09:48 . Initial commit
#!/usr/bin/env python
'''
create_date_cards.py
A python script to create Anki cards with dates from American History.
'''
import card_creator
import sys
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--front', help='Card front')
parser.add_argument('--back', help='Card back')
parser.add_argument(
'--collection', help='Path to anki collection file (.anki file)')
parser.add_argument('--deck', help='Anki deck name')
args = parser.parse_args()
card = card_creator.CardCreator(args.collection, args.deck)
card.create(args.front, args.back)
1
https://gitee.com/hffqyd/kindle2anki.git
git@gitee.com:hffqyd/kindle2anki.git
hffqyd
kindle2anki
kindle2anki
master

搜索帮助