[Tutor] import of source code still not working

Kermit Rose kermit at polaris.net
Mon Feb 20 09:19:47 CET 2006


IDLE 1.1.2      
>>> import factor30
>>> factor(1000009)

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in -toplevel-
    factor(1000009)
NameError: name 'factor' is not defined
>>> factor0(1000009)

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in -toplevel-
    factor0(1000009)
NameError: name 'factor0' is not defined
>>>  



More information about the Tutor mailing list