Re: ImportError: cannot import name - newbie

2005-05-21 Thread Steven Bethard
[EMAIL PROTECTED] wrote: > """box.py""" > > class box: > def __init__(self): > print "in box" > > This program passes running "python box.py". > > I had put this program under /work/dev/mytests/new > > Now I want to use it from a second python program, which > resides in a totally differe

ImportError: cannot import name - newbie

2005-05-21 Thread qwejohn
Hello, I am quite a newbie to Python. I am working on Linux Fedora Core 3. I have wrote a small program named box.py which has only a constructor: """box.py""" class box: def __init__(self): print "in box" This program passes running "python box.py". I had put this program under /work/d