]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Move parametrizations to "names.py"
authorGuido van Rossum <guido@python.org>
Sun, 15 Sep 1991 21:21:28 +0000 (21:21 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 15 Sep 1991 21:21:28 +0000 (21:21 +0000)
Demo/sgi/al/intercom.py

index 67c424a7678ec96de922b61e843df4ab02ae8a0b..db898f18d4b695706f8f22f64e9dfcb5c65a78c1 100755 (executable)
@@ -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