diff options
author | Guido van Rossum <guido@python.org> | 1992-04-14 11:05:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-04-14 11:05:22 (GMT) |
commit | dbdeebbbfaab1c2ed80315814492915ae590dc7c (patch) | |
tree | 9bea6fc2618a580be757fdcad4578230b8448874 /Demo/sgi/cd | |
parent | f2759a5c2d881b2c791b5ef42321b15a7d1c8b01 (diff) | |
download | cpython-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-x | Demo/sgi/cd/sendcd.py | 6 |
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() |