Trying to use "Programming Python" (Lutz), getting module errors.
Peter Hansen
peter at engcorp.com
Mon May 6 02:36:03 EDT 2002
Rob Lineberger wrote:
>
> I'm trying to learn Python, so I picked up Mark Lutz' Programming
> Python. Using latest builds of Python and Pythonwin.
>
> print 'Hello world!' worked ok.
>
> As soon as I move on to page 13, Running Module Files, it breaks. I
> opened up notepad and created a file called spam.py. When I try to
> use it, pythonwin says no such module exists.
What do you mean "use it"?
I've never used PythonWin, so I hope I'm not steering you wrong,
but I just used "File->Open" from the menu and opened a .py file
from somewhere on my hard drive, then used "File->Run" and it
worked. What did you try?
-Peter
More information about the Python-list
mailing list