I am learing the book: Foundations of Python Network Programming - Apress 2004
When I tried this:
import socket, sys host = sys.argv textport = sys.argv #....
Then my IDE notify me this exception when debug:
"""IndexError: list index out of range:
host = sys.argv """
When I tried to change number 1 and 2 above to 0 and 1 then it notify again at number 1 but not 0 anymore.:sad:
I guess that is a change in Python 2.4?!:?:
Please tell me why? Thks.