Python search path (on Windows)

wooly booly wb at noname.com
Wed Oct 22 05:03:48 EDT 2008


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! 





More information about the Python-list mailing list