Ulli Horlacher <frams...@rus.uni-stuttgart.de> writes: >> That's not true. Well, it's only true A) of programs that use >> 8-bit I/O instead of Unicode (which unfortunately happens to >> include Python > > Ok, then this is a dead end for me?
I meant normal Python I/O (read, input, print, etc). getwch isn't exactly *not* Unicode, though you read the rest of the post discussing its problems. 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. Your use of kbhit/getwch is intended to "automatically" detect the end of the filename without having to press enter, right? _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32