Don't Laugh....

Akira Kiyomiya akira.kiyomiya at autodesk.com
Tue Mar 14 22:06:30 EST 2000


I am very new to Python stuff, so I am going to ask you a really dummy
question.

I am trying to run Python, but it seems like I cannot.

I am using Windows 98 and installed Python on my machine.   I am simply
using Python command line that tells me "Python 1.5.2 Copyright 1991-1995
Stichting Mathematish Centrum, Amsterdam".

I created one document called "module.py" by using my text editor  The
"module.py" only has a sentense " print 'Hello World!'"  and that's it.

I saved this file on my desktop and c drive, so I simply typed >>>module.py
but I keep getting a message "Traceback <innermost last>: File "<stdin>",
line1 , in ? NameError: module"

I even tried >>>import module but it is same thing.   I don't think I can go
to any specifc path that I saved my python file.

In case you are wondering if I installed Python correctly, my Python
interpretor works since I can type "print 'Hello World!"

Okay, what am I doing wrong??





More information about the Python-list mailing list