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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to