Antony Kummel wrote:
 Hi,

Just wondering what the black hole is good for. I've used py2exe to make executables which I run as subprocesses using another executable. I don't want them to have a console window, so I have two options: hiding it, or making windows executables. However, one of them is a GUI application, so hiding it hides the GUI frame, so I only have the choice of making windows executables. However, I want to capture these executables' output for logging purposes. I see
So save it to a file ?

Either you want the black console window or not. You can't both have it and not have it - which is what you appear to be asking for !?

You can use my StandOut module for logging the output of all print statements to file.

See http://www.voidspace.org.uk/python/modules.shtml#standout

I hope that helps,

Fuzzyman
http://www.voidspace.org.uk/python/index.shtml

no reason why I should be prevented from getting it. I had to override the black hole for that, but I can't understand why anyone would need it in the first place.

Thanks,

Antony Kummel.


Yahoo! Shopping
Find Great Deals on Gifts at Yahoo! Shopping