You can use Anki from Python

Can I create an Anki deck from a CSV file?


Can I convert my CSV file to an Anki deck? I can't find any options in the program.

Reply:


In the desktop version of Anki you can " Text separated by tabs or semicolons "Import. Use this option to select your CSV file. After opening the file, a dialog box will appear that allows you to customize how your data is imported. One of the settings is an option that lets you choose the delimiter." Change this to a comma and it should work for you.





Another way to generate files programmatically by reusing the desktop version with Python. Expand:

and start the script (of course you should adapt it to your needs):

As long as you hold and same you can import DB with it To update cards progress without loss !

My production code examples:

We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By continuing, you consent to our use of cookies and other tracking technologies and affirm you're at least 16 years old or have consent from a parent or guardian.

You can read details in our Cookie policy and Privacy policy.