Re: [Tutor] nul file in Windows

2009-11-16 Thread Timo
Dave Angel schreef: Timo List wrote: For my program I disable the py2exe log feature by routing output to the nul-file. Code: if win32 and py2exe: sys.stdout = open("nul", "w") sys.stderr = open("nul", "w") This always worked fine. Today, I received an email fr

Re: [Tutor] nul file in Windows

2009-11-15 Thread Dave Angel
Timo List wrote: For my program I disable the py2exe log feature by routing output to the nul-file. Code: if win32 and py2exe: sys.stdout = open("nul", "w") sys.stderr = open("nul", "w") This always worked fine. Today, I received an email from a user with the fo

Re: [Tutor] nul file in Windows

2009-11-15 Thread Wayne Werner
On Sun, Nov 15, 2009 at 6:39 AM, Timo List wrote: > For my program I disable the py2exe log feature by routing output to the > nul-file. > Code: > > if win32 and py2exe: > sys.stdout = open("nul", "w") > sys.stderr = open("nul", "w") > > This always worked fine. >

[Tutor] nul file in Windows

2009-11-15 Thread Timo List
For my program I disable the py2exe log feature by routing output to the nul-file. Code: if win32 and py2exe: sys.stdout = open("nul", "w") sys.stderr = open("nul", "w") This always worked fine. Today, I received an email from a user with the following error: IOEr