On 11/25/07, Kent Johnson <[EMAIL PROTECTED]> wrote:
>
>
>
> Should be sys.path.append(...)
>
> Kent



yes, I'm sorry, in my posting I did have a  typographical error, but my code
has the following seemingly correct lines:

            sys.path.append(PATH_TO_MODULE)
            print "Path added: ", PATH_TO_MODULE

so when I run my script from the command line, the folder does seem to be
added to Python's importable modules search path.  When I attempt to import
my_module I get the error:

ImportError: No module named my_module
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to