Ticket #117: nullsum.py

File nullsum.py, 256 bytes (added by zooko, at 2007-08-20T21:11:21Z)

nullsum.py

Line 
1#!/usr/bin/env python
2
3# from the Python Standard Library
4import sys, zlib
5
6if __name__ == '__main__':
7    fobj = open(sys.argv[1], "r")
8    nullval = 0
9    data = fobj.read(65536)
10    while data:
11        data = fobj.read(65536)
12    print "%x" % nullval
13