@@ -0,0 +1,819 @@
+#!/usr/bin/python%0A%0Afrom chess_util import *%0Aimport time%0A%0Adepth = 9%0A%0Ap = StartEngine('/home/dspencer/Stockfish/src/stockfish')%0A%0ASetOption(p, 'Hash', '128')%0A#SetOption(p, 'MultiPV', '5')%0A# %0Apositions = 0%0At1 = time.time()%0Afor fn in sys.argv%5B1:%5D:%0A    with file(fn) as f:%0A        for line in f.readlines():%0A            (fen,moves) = line.split(',')%0A            SetFenPosition(p, fen)%0A            #print 'AN: ', fen%0A            # %7B'pv': %5B'f7f5', 'e4f5'%5D, 'depth': '2', 'score': -32, 'time': 2, 'nodes': 223, 'multipv': 1%7D%0A            positions += 1%0A            for depth_report in SearchDepth(p, depth):%0A                #print '%5Ct', depth_report%0A                pass%0A            if positions %25 100 == 0:%0A                print %22%25d. %25.1f%22 %25 (positions, time.time() - t1)%0A            if positions %3E 10000:%0A                break%0A

work in progress