(Windows) "Dropping" stuff onto a Python script

daniel.haude at googlemail.com daniel.haude at googlemail.com
Thu Nov 6 09:56:34 CET 2008


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



More information about the Python-list mailing list