wooly booly 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.

Then you could try

Python -m myscript

Diez


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

Reply via email to