Re: [Tutor] Runing a Python program

2006-05-13 Thread w chun
> On my computer (Win2K) Python puts the current working directory in > sys.path. (I'm not sure this happens on Linux.) yes it does, on any unix-flavored system (Linux, FreeBSD, MacOS X, Solaris, etc.). since we're on the topic, there is another attribute in the sys module, sys.modules that shows

Re: [Tutor] Runing a Python program

2006-05-13 Thread Alan Gauld
Hi Henry, > 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 > ImportError: No modu

Re: [Tutor] Runing a Python program

2006-05-13 Thread Kent Johnson
Henry Dominik wrote: > 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 myPythonFil

Re: [Tutor] Runing a Python program

2006-05-13 Thread Evans Anyokwu
u close the interpreter, it will need to be appended again.   Hope that help.   - Original Message - From: Henry Dominik To: Tutor Sent: Friday, May 12, 2006 9:24 PM Subject: [Tutor] Runing a Python program Hello people,   As a new python programmer, I creat

[Tutor] Runing a Python program

2006-05-12 Thread Henry Dominik
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 rece