I've embedded Python in my MFC program, and now I want to see the result of the 'print' message. I've called the AllocConsole windows API function, but the python output is not directed to the console window. How should I deal with this?