While it is not common to need to call Windows functions within Python code, you may occasionally need to do so in order to make a program work correctly. If you need to, you can run the cmd.exe ...
do not execute as 'native' scripts. I have a workaround (a C wrapper that can be compiled and installed in place of /usr/bin/pythonw) that I can post here if requested. I am mostly curious about what ...