Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 13 lines (10 sloc) 0.202 kB
#!/usr/bin/python2.5
import collections
import os
count = 1
size = 573741824 # 1gb
fname = "test.data"
fh = open(fname, 'w')
while os.path.getsize(fname) < size:
count += 1
fh.write("%d\n"%count)
Jump to Line
Something went wrong with that request. Please try again.