dfhack/library/python/deprecated/examples/settlementdump.py

9 lines
173 B
Python

2010-04-22 12:06:59 -06:00
import sys
from cStringIO import StringIO
import pydfapi
df = pydfapi.API("Memory.xml")
def print_settlement(settlement, english_words, foreign_words):
s = StringIO()