[Tutor] Re: Path
Sun, 7 Jan 2001 15:59:41 +0100
> If you're in Win98, things are a little simpler. You'll probably need to
> edit your autoexec.bat with the line:
> SET PYTHONPATH="C:\my_modules"
> After a reboot, you should be able to do those imports nicely.
Yes, that's it !
Now it works, thanks a lot !!
> > I also would like to know how to set it up so that it searches in the
> > current working directory too (useful if I want to move my program and
> > related modules in a different directory).
> Hmmm... by default, it should search the current directory already.
> Strange! Can you try it again?
Yes it does search it when running from a DOS shell, but it does not when I
scripts from IDLE,. It doesn't seem to search in the directory where the