mirror of https://github.com/python/cpython.git
improved lay-out; added call to main()
This commit is contained in:
parent
f2759a5c2d
commit
dbdeebbbfa
|
@ -9,8 +9,8 @@
|
||||||
from socket import *
|
from socket import *
|
||||||
import getopt
|
import getopt
|
||||||
|
|
||||||
HOST = 'voorn.cwi.nl' # The host where readcd.py is run
|
HOST = 'voorn.cwi.nl' # The host where readcd.py is run
|
||||||
PORT = 50505 # Must match the port in readcd.py
|
PORT = 50505 # Must match the port in readcd.py
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
try:
|
try:
|
||||||
|
@ -141,3 +141,5 @@ def triple(a, b, c):
|
||||||
def zfill(n):
|
def zfill(n):
|
||||||
s = `n`
|
s = `n`
|
||||||
return '0' * (2 - len(s)) + s
|
return '0' * (2 - len(s)) + s
|
||||||
|
|
||||||
|
main()
|
||||||
|
|
Loading…
Reference in New Issue