summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-09-15 21:21:28 (GMT)
committerGuido van Rossum <guido@python.org>1991-09-15 21:21:28 (GMT)
commit9978a16c7dacc16d06f5e7e43be3a576ec9a0e73 (patch)
treed9715de05450cd7e0398228f34c8da1127c19053 /Demo
parent50692d62de3a2aa13aa1ebc56fbe045842a45580 (diff)
downloadcpython-9978a16c7dacc16d06f5e7e43be3a576ec9a0e73.zip
cpython-9978a16c7dacc16d06f5e7e43be3a576ec9a0e73.tar.gz
cpython-9978a16c7dacc16d06f5e7e43be3a576ec9a0e73.tar.bz2
Move parametrizations to "names.py"
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/sgi/al/intercom.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/Demo/sgi/al/intercom.py b/Demo/sgi/al/intercom.py
index 67c424a..db898f1 100755
--- a/Demo/sgi/al/intercom.py
+++ b/Demo/sgi/al/intercom.py
@@ -7,19 +7,10 @@
# intercom hostname - start talking to person on other host
# intercom -r hostname - called remotely to do the setup
+import names
import sys, time, posix, gl, fl, FL, al, AL, getopt, rand
from socket import *
-# Hack sys.path so AL can be found
-LIB = '/ufs/guido/lib/python'
-if LIB not in sys.path: sys.path.insert(0, LIB)
-
-# Python binary to be used on remote machine
-PYTHON = '/ufs/guido/bin/sgi/python'
-
-# Directory where the programs live
-AUDIODIR = '/ufs/guido/mm/demo/audio'
-
# UDP port numbers used (one for each direction!)
PORT1 = 51042
PORT2 = PORT1+1