On Oct 22, 10:03 am, "wooly booly" <[EMAIL PROTECTED]> wrote: > I would like to execute a Python script from Windows command line: > > Python myscript.py > > This works if myscript.py resides in the current folder. My question is: > Is it possible to execute the command above from another folder? > > I put the script's folder in the PYTHONPATH environment variable but this > didn't help. > > Thanks for your help!
You can put the script directory in the PATH environment variable, and call it with just: myscript.py -- http://mail.python.org/mailman/listinfo/python-list