For exit: You need to put an argument (more input) : import sys sys.exit(0) The argument of exit is the return value of your script (0 = okay, other = problem). sys.path is an attribute (of type list) of sys not a function. So don't put () after path. I hope it will help. Damien. Bob Nienhuis wrote: Working my way through Alan Gauld's tutorial, and I am on the |
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor