All pastes #761585 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-04 23:44 UTC
rendered paste body
import bz2

compress = bz2.compress('test.txt',9)
f = open ("test.bz2", 'w')
f.write(compress)
f.close()

print 'done.'