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
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