예제 #1
0
파일: test_stats.py 프로젝트: ChYi/libanki
def test_graphs():
    from anki import Deck
    d = Deck(os.path.expanduser("~/test.anki"))
    g = d.stats()
    rep = g.report()
    open(os.path.expanduser("~/test.html"), "w").write(rep)
    return
예제 #2
0
파일: test_stats.py 프로젝트: ChYi/libanki
def test_graphs():
    from anki import Deck
    d = Deck(os.path.expanduser("~/test.anki"))
    g = d.stats()
    rep = g.report()
    open(os.path.expanduser("~/test.html"), "w").write(rep)
    return