[Tutor] Runing a Python program

Henry Dominik fiveholiday55 at hotmail.com
Fri May 12 22:24:25 CEST 2006


Hello people,

As a new python programmer, I created a directory in 'C:\python24\myPythonFiles',
and added a simple python under the myPythonFiles directory; but when I tried running it on the Python Shell, I got the following error.

>>> import myPythonFiles.readOut

Traceback (most recent call last):
  File "<pyshell#3>", line 1, in -toplevel-
    import mypythonFiles.readOut
  ImportError: No module named myPythonFiles.readOut

>>> 

How do I run a program that is placed on its own folder/directory?

Thanks

Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060512/01cb6e5f/attachment.htm 


More information about the Tutor mailing list