Skip to content

Instantly share code, notes, and snippets.

@krmanik
Created September 28, 2021 11:59
Show Gist options
  • Save krmanik/e2cb3f6cde032e5a5dedaa619d7de487 to your computer and use it in GitHub Desktop.
Save krmanik/e2cb3f6cde032e5a5dedaa619d7de487 to your computer and use it in GitHub Desktop.
Create Anki deck using Jupyter Notebook

Where to use the notebook?

Google Colab

Download raw csv_to_anki_apkg.ipynb file and upload to https://colab.research.google.com

How to use this?

  1. Add CSV/TSV file in same directory
  2. Run Second cell to install genanki
  3. Run Next cell and enter
  • csv/tsv filename
  • deck title
  • model
  • filed separated by tab or comma
  • fields
  1. The file with .apkg extension will be generated in same directory
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment