Search path for python script

2007-09-12 Thread grt
I'm new to python, running it under cygwin. This must be easy but I haven't figured it out. I'm trying to run a script by typing: python test.py where test.py is in a directory I've added to PYTHONPATH, but test.py is not found. Perhaps PYTHONPATH only applies to modules imported within a script.

Re: Search path for python script

2007-09-12 Thread grt
On Sep 12, 4:06 pm, BartlebyScrivener <[EMAIL PROTECTED]> wrote: > On Sep 12, 4:40 pm, grt <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to run a script by typing: > > > python test.py > > What happens if you just type: > > test.py