From: goat <moo...@gm...> - 2013-11-28 16:58:06
|
Right right, I'm messing up this answering part, not to used to mailing lists as you may see. Well true, shouldn't be going around setting the current dir to an attached dll literal path. PYTHONIOENCODING isn't the right way to go either. Maybe PYTHONSTARTUP could be acceptable? Setting this environment variable with a file name as value will have Python run this file prior to running the "main" script. Could be used to set the sys encoding. > BTW: Please post the answers to the mailing list! > > Am 28.11.2013 14:47, schrieb goat: >> Sure, but it is at least *not nice* to change the current directory >> of an exe from a dll when it is loaded. |