summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-03-12 19:07:59 (GMT)
committerGuido van Rossum <guido@python.org>1999-03-12 19:07:59 (GMT)
commit9a4da084d472b0f35799f331ac651e31d70cef4d (patch)
tree02d2b457871eebdf50ba934b996d3c1933b4bda6 /Demo
parent7e75c947db15d769abd315b5daaab2f18b8b9cec (diff)
downloadcpython-9a4da084d472b0f35799f331ac651e31d70cef4d.zip
cpython-9a4da084d472b0f35799f331ac651e31d70cef4d.tar.gz
cpython-9a4da084d472b0f35799f331ac651e31d70cef4d.tar.bz2
Change #! line to modern usage; also chmod +x
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/zlib/minigzip.py2
-rwxr-xr-xDemo/zlib/zlibdemo.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Demo/zlib/minigzip.py b/Demo/zlib/minigzip.py
index eefdc39..dc99d9b 100755
--- a/Demo/zlib/minigzip.py
+++ b/Demo/zlib/minigzip.py
@@ -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.
diff --git a/Demo/zlib/zlibdemo.py b/Demo/zlib/zlibdemo.py
index fff1750..7c56e3e 100755
--- a/Demo/zlib/zlibdemo.py
+++ b/Demo/zlib/zlibdemo.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
import zlib, sys
if len(sys.argv)>1: filename=sys.argv[1]