in pachi_py/pachi/tools/sgf2gtp.py [0:0]
def process_sgf_file(fin, fout):
sgfdata = fin.read()
col = SGFParser(sgfdata).parse()
for gametree in col:
try:
process_gametree(gametree, fout)
except UnknownNode:
# Try next game tree in this file
if DEBUG:
print >>sys.stderr, "Unknown Node"
continue