[python-win32] drag&drop files with non-ASCII filenames?

Ulli Horlacher framstag at rus.uni-stuttgart.de
Wed Dec 16 11:45:12 EST 2015


On Wed 2015-12-16 (11:23), Random832 wrote:

> If you want to use a strictly console-based approach, you could
> simply provide a text input field for the user to type (or
> paste, or drop) a filename followed by pressing Enter.

I have had this in first place and the problem was:

My users dropped the file into the application window and wait forever
without pressing ENTER, though it was written:
"Drag&drop a file into this window and press [ENTER] to continue"


> Your use of kbhit/getwch is intended to "automatically" detect the end of
> the filename without having to press enter, right?

Correct.

-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum IZUS/TIK         E-Mail: horlacher at tik.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-68565868
Allmandring 30a                Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<87vb7yl5ux.fsf at fastmail.com>


More information about the python-win32 mailing list