[Python] Drag and drop onto Python script in Windows Explorer

Discussão em 'Python' iniciado por Stack, Maio 25, 2025.

  1. Stack

    Stack Membro Participativo

    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?

    Continue reading...

Compartilhe esta Página