Changes in deck with python without losing progress

Hallo, I have a deck where a lot of words are spelled wrong and I wanna adjust them over a python script. Currently I would do it on this way:

  1. extract specific cards in a numbers list
  2. change them there
  3. import them back

But how I do this if a don’t wanna los my progress?

Thanks.

1 Like

That won’t affect any of the review history on your cards. The procedure would be –

The only problem I can foresee is if the edits you are making are in the first field of the note. If that field changes, Anki won’t be able to match the notes to each other during the update process (see the Importing Text Files link). Then you will end up creating new near-duplicate notes (which will then create cards without your review history). To avoid that, make sure the first field is a different field or add a unique ID number (see the Exporting link).

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.