Mercurial > rinkhals
view zlibcat @ 553:7963fc09fac2
Make checkdialog take strings to show as input. Add possiblity of 3rd button on dialog
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 28 Nov 2009 17:45:28 +0000 |
parents | 1da14b3d8773 |
children |
line wrap: on
line source
#!/usr/bin/python import zlib def main(args): filenames = args[1:] try: for name in filenames: print zlib.decompress(open(name).read()) except IOError, e: if e.errno != 32: raise if __name__ == "__main__": import sys sys.exit(main(sys.argv))