This script converts the *_delim.txt
files in the "Amateur basic questions" and "Amateur advanced questions" banks (found here) into Anki .apkg
files which can be imported as desired. The script prompts you for:
- A filename to use for the temporary
.anki2
file the script creates. If the file exists, it must be a valid SQLite3 database containing no tables. - A filename to read the questions from. This should be the
amat_{basic,adv}_quest_delim.txt
file and must be formatted accordingly. - If you want the French or English questions. Press Enter if you want English, or type anything and press Enter for French.
- The name of the deck to generate.
- The description of the deck to generate.
The resulting collection is generated in out.apkg
which you can then rename and/or import acc