Drag and drop onto Python script in Windows Explorer
Posted
by grok
on Stack Overflow
See other posts from Stack Overflow
or by grok
Published on 2008-09-27T03:02:30Z
Indexed on
2010/04/18
23:23 UTC
Read the original article
Hit count: 476
I would like to drag and drop my data file onto a Python script and have it process the file and generate output. The Python script accepts the name of the data file as a command-line parameter, but Windows Explorer doesn't allow the script to be a drop target.
Is there some kind of configuration that needs to be done somewhere for this work?
© Stack Overflow or respective owner