non-blocking getkey?

Christian Gollwitzer auriocus at gmx.de
Thu Dec 10 03:57:27 EST 2015


Am 10.12.15 um 09:28 schrieb Ulli Horlacher:
> Ulli Horlacher <framstag at rus.uni-stuttgart.de> wrote:
> My users do not like it :-(
> They want to drag&drop files.

Another cheap solution comes to mind: On windows, dropping files onto an 
icon on the desktop is interpreted as "launch the program with 
additional arguments", where the arguments are the file names. Maybe you 
could try interpreting the cmdline args first? I'm not so sure how it 
will work with non-ASCII characters, though. On Linux, you can probably 
also create simliar icons. The only drawback is that you start a new 
instance of your file manager each time.

	Christian




More information about the Python-list mailing list