[Tutor] Calling Modules in ActiveState 2.4

Bob Nienhuis bob.nienhuis at gmail.com
Thu Sep 22 00:36:01 CEST 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050921/306f5560/attachment.html


More information about the Tutor mailing list