]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
improved lay-out; added call to main()
authorGuido van Rossum <guido@python.org>
Tue, 14 Apr 1992 11:05:22 +0000 (11:05 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 14 Apr 1992 11:05:22 +0000 (11:05 +0000)
Demo/sgi/cd/sendcd.py

index 10b0fafc553b2286189283fe3e7fa647d077f6f5..499000044b4a1f383b90866de4ee906e6ecc1d63 100755 (executable)
@@ -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()