summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/cd
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-04-14 11:05:22 (GMT)
committerGuido van Rossum <guido@python.org>1992-04-14 11:05:22 (GMT)
commitdbdeebbbfaab1c2ed80315814492915ae590dc7c (patch)
tree9bea6fc2618a580be757fdcad4578230b8448874 /Demo/sgi/cd
parentf2759a5c2d881b2c791b5ef42321b15a7d1c8b01 (diff)
downloadcpython-dbdeebbbfaab1c2ed80315814492915ae590dc7c.zip
cpython-dbdeebbbfaab1c2ed80315814492915ae590dc7c.tar.gz
cpython-dbdeebbbfaab1c2ed80315814492915ae590dc7c.tar.bz2
improved lay-out; added call to main()
Diffstat (limited to 'Demo/sgi/cd')
-rwxr-xr-xDemo/sgi/cd/sendcd.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Demo/sgi/cd/sendcd.py b/Demo/sgi/cd/sendcd.py
index 10b0faf..49900004 100755
--- a/Demo/sgi/cd/sendcd.py
+++ b/Demo/sgi/cd/sendcd.py
@@ -9,8 +9,8 @@ import sys
from socket import *
import getopt
-HOST = 'voorn.cwi.nl' # The host where readcd.py is run
-PORT = 50505 # Must match the port in readcd.py
+HOST = 'voorn.cwi.nl' # The host where readcd.py is run
+PORT = 50505 # Must match the port in readcd.py
def main():
try:
@@ -141,3 +141,5 @@ def triple(a, b, c):
def zfill(n):
s = `n`
return '0' * (2 - len(s)) + s
+
+main()