I'm using an XP platform and have both a Windows and Cygwin installation 
of Python. I store all my Python scripts in one directory, but would 
like to invoke the script from the command line without specifying the 
full path to this directory. i.e.,

Say all my scripts are in:

~/py_scripts/

My current directory is:
~

I want to be able to do this:

prompt>python myscript.py

and not:
prompt>python ~/py_scripts/myscript.py

Any way to do this? (I use PYTHONPATH for modules and that works correctly)

Arvind
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to