Skip to content
Create a gist now

Instantly share code, notes, and snippets.

make test dataset
#!/usr/bin/env python
import os
begin = 1
end = 3000000
inc = 3000000
for j in xrange(3):
with open('%s.txt' % (j + 1), 'w') as wf:
for i in xrange(begin, end + 1):
print >> wf, i
begin += inc
end += inc
os.system("tar czvf all.tgz 1.txt 2.txt 3.txt")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.