Working my way through Alan Gauld's tutorial, and I am on the
section on modules.

When I call:
import sys
sys.exit()
I get a traceback error saying it needs more input

Same when I do:
import sys
print sys.path()

Both of these work if I do
sys.exit
or print sys.path without the parentheses.
Is this new behavior in Activstate 2.4, or do I need
to set an environment variable?

Bob


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to