summaryrefslogtreecommitdiffstats
path: root/Demo/sockets
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets')
-rwxr-xr-xDemo/sockets/echosvr.py2
-rwxr-xr-xDemo/sockets/finger.py2
-rwxr-xr-xDemo/sockets/gopher.py2
-rwxr-xr-xDemo/sockets/rpython.py2
-rwxr-xr-xDemo/sockets/rpythond.py2
-rwxr-xr-xDemo/sockets/telnet.py2
-rwxr-xr-xDemo/sockets/throughput.py2
-rwxr-xr-xDemo/sockets/udpecho.py2
8 files changed, 8 insertions, 8 deletions
diff --git a/Demo/sockets/echosvr.py b/Demo/sockets/echosvr.py
index acf0a39..c1acf6c 100755
--- a/Demo/sockets/echosvr.py
+++ b/Demo/sockets/echosvr.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Python implementation of an 'echo' tcp server: echo all data it receives.
#
diff --git a/Demo/sockets/finger.py b/Demo/sockets/finger.py
index 71e307f..b941d0e 100755
--- a/Demo/sockets/finger.py
+++ b/Demo/sockets/finger.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Python interface to the Internet finger daemon.
#
diff --git a/Demo/sockets/gopher.py b/Demo/sockets/gopher.py
index f30ab0f..a2ab3a2 100755
--- a/Demo/sockets/gopher.py
+++ b/Demo/sockets/gopher.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# A simple gopher client.
#
diff --git a/Demo/sockets/rpython.py b/Demo/sockets/rpython.py
index 9548301..77b2a7a 100755
--- a/Demo/sockets/rpython.py
+++ b/Demo/sockets/rpython.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Remote python client.
# Execute Python commands remotely and send output back.
diff --git a/Demo/sockets/rpythond.py b/Demo/sockets/rpythond.py
index f67570b..e8cdaa9 100755
--- a/Demo/sockets/rpythond.py
+++ b/Demo/sockets/rpythond.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Remote python server.
# Execute Python commands remotely and send output back.
diff --git a/Demo/sockets/telnet.py b/Demo/sockets/telnet.py
index 3bb36ef..e83ce55 100755
--- a/Demo/sockets/telnet.py
+++ b/Demo/sockets/telnet.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Minimal interface to the Internet telnet protocol.
#
diff --git a/Demo/sockets/throughput.py b/Demo/sockets/throughput.py
index fd946b4..58975bf 100755
--- a/Demo/sockets/throughput.py
+++ b/Demo/sockets/throughput.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Test network throughput.
#
diff --git a/Demo/sockets/udpecho.py b/Demo/sockets/udpecho.py
index 8839eb8..8fce547 100755
--- a/Demo/sockets/udpecho.py
+++ b/Demo/sockets/udpecho.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
# Client and server for udp (datagram) echo.
#