IDLE 0.5: Odd NumTut import results

Randall Hopper aa8vb at yahoo.com
Tue Apr 18 08:25:04 EDT 2000


>From the command-line:

   > python
   Python 1.6a2 (#2, Apr 17 2000, 12:17:27) [C] on irix646-n32
   Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
   >>> from Numeric import *
   >>> from NumTut import *
   >>>

No problem.

>From within IDLE (started from the same shell):

   Python 1.6a2 (#2, Apr 17 2000, 12:17:27) [C] on irix646-n32
   Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
   IDLE 0.5 -- press F1 for help
   >>> from Numeric import *
   >>> from NumTut import *
   Traceback (innermost last):
     File "<pyshell#1>", line 1, in ?
       from NumTut import *
     File "NumTut/__init__.py", line 11, in ?
       from view import *
     File "/home/rhh/software/pythonutil/NumTut/view.py", line 146, in ?
       class ThreadedTk(Thread):
   NameError: Thread
   >>> 


-- 
Randall Hopper
aa8vb at yahoo.com




More information about the Python-list mailing list