File size: 247 Bytes
463f868
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import json

with open("card_dump.json", "r", encoding="utf-8") as f:
    data = json.load(f)
    text = data[0]["ability"]

with open("card_text.txt", "w", encoding="utf-8") as f:
    f.write(text)

print("Saved text to card_text.txt")