Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a Python library called genanki that has a minor learning curve but isn't terrible to figure out. My process is to maintain a gsheet with data I use to generate my flashcards, then manually download the CSV data, and run a Python script to convert everything into the Anki format.

If I'm not mistaken it's also possible to import CSV data directly into anki without the intermediate Python script



Yes, this is the one I previously found (thanks for sharing). Found it ridiculously complex for what an anki card seems to be... I mean from the docs I found this:

> "...You need to pass a model_id so that Anki can keep track of your model."

At that time I wondered myself: "Why on earth do I need to keep track of a model id for an anki card?" then quickly move forward on the docs without paying too much attention and finally put it aside...


Sounds like you got tripped up by digging too much into the specifics of models. While a powerful concept, they're not necessary to understand if you just want to generate basic front-back cards. Simply create a `MODEL_ID` static constant in your file and never touch it again.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: