pyradox
pyradox copied to clipboard
Python parser for Paradox .txt files.
Requires:
- Unicode-default Python. This includes the default CPython 3, IronPython, and probably Jython, but NOT the default CPython 2.
- pyradox.worldmap requires PIL (or Pillow).
Some scripts are in /scripts/
The most important modules: pyradox.datatype.tree: The core data structure. Combines aspects of dicts and ElementTrees. pyradox.filetype.txt: Parses Paradox .txt files and puts them into a pyradox.datatype.Tree. Only the three functions at the top are necessary to know for practical use; the rest is the parser itself.