Change #! line to modern usage; also chmod +x

This commit is contained in:
Guido van Rossum 1999-03-12 19:07:59 +00:00
parent 7e75c947db
commit 9a4da084d4
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python
#!/usr/bin/env python
# Demo program for zlib; it compresses or decompresses files, but *doesn't*
# delete the original. This doesn't support all of gzip's options.

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python
#!/usr/bin/env python
import zlib, sys
if len(sys.argv)>1: filename=sys.argv[1]