Kayh
#1
How to iterate over a cards from a deck?
I have a specific deck and I want to access each cards through python looping.
ijgnd
#2
maybe col.decks.cids(the_deck_id)
,
you could also try something like for cid in mw.col.find_cards(f'''deck:"{thedeckname}"''')
, see https://addon-docs.ankiweb.net/#/getting-started?id=the-collection
2 Likes