"py" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Claudio Grondi wrote:
> > so this should work in your case:
> >
> > import sys
> > sys.path.append("C:\some\other\directory")
> > import bar
>
> ...that will certainly work.  Only issue is that each time I start up
> foo.py in the python shell I have to retype those three lines....kind
> of why I was hoping for a environment variable or path setting that i
> could stick in.
>
> This will do for now...
>
See the recent threads
"IDLE question" and
"newbie - How do I import automatically?"
in THIS newsgroup for further help.

Claudio


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to