when i execute my program without an argument i receive,

infile = sys.argv[1]

IndexError: list index out of range
is there a way that i could suppress this and add my own error code
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to