[Tutor] "Learning Python" Chapter Exercise

Deirdre Saoirse deirdre@deirdre.net
Sat, 11 Sep 1999 19:13:21 -0700 (PDT)


On Sat, 11 Sep 1999, Dennis wrote:

> The book uses Linux (or unix) examples and I am (for now) running
> windows. I assume my problem is windows specific. Following is the
> result of trying to run module1.py.  If anyone is willing to point
> me in the right direction I would appreciate the help. Thanks

You should instead say:

import module1

> >>>module1.py
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
> NameError: module1

-- 
_Deirdre   *   http://www.linuxcabal.net   *   http://www.deirdre.net
"I must say that I was really happy to see _Linux for Dummies_ -- that's 
when you know you've arrived." -- Linus Torvalds