(Windows) "Dropping" stuff onto a Python script

Aaron Brady castironpi at gmail.com
Fri Nov 7 22:14:48 CET 2008


On Nov 6, 2:56 am, daniel.ha... at googlemail.com wrote:
> Hello people,
>
> I'd like to have the functionality known from "real" executables that
> if I drag-drop a file icon on top of the app, the app starts and has
> the file's path as command-line argument.
>
> However, this doesn't seem to work with Python scripts because Windows
> sees those just as files, not apps.
>
> Can this be done?
>
> Thanks,
>
> robert

Did someone say dropping stuff?  My favorite.  Discussions, names,
babies, you get the picture.

I'll take things you drop for $500, Alex.

</humor>



More information about the Python-list mailing list