Skip to content

Instantly share code, notes, and snippets.

@hreeder
Created November 15, 2015 19:48
Show Gist options
  • Save hreeder/7f72f3e4213d4e31d637 to your computer and use it in GitHub Desktop.
Save hreeder/7f72f3e4213d4e31d637 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import os
for (dirpath, dirnames, filenames) in os.walk('.'):
for filename in filenames:
if filename.endswith('answer.csv'):
prob = filename[:-10]
print '==== Verifying %s ====' % (prob,)
os.system('java -jar supplied/Verify.jar testdata/%sprob.csv %s' % (prob, filename))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment