Using Python scripts in Windows Explorer

Ant antroy at gmail.com
Mon Oct 23 07:25:01 EDT 2006


Ben Sizer wrote:

> > Create a shortcut and drop the file over it.
...
> That is what I meant by 'the usual steps'. :)  It doesn't work.

Alter the target of the shortcut to something like:

C:\Python25\python.exe C:\0\sort_test.py

and drag and drop should work, with the filename of the dragged file
being sent as a script argument.




More information about the Python-list mailing list