build a binary for Windows on Linux, Solaris or Mac OSX?

Skip Montanaro skip at pobox.com
Tue Jul 6 15:17:08 EDT 2004


    >> Failing that, can I coax someone into building such a beast for me so
    >> I can include it on http://sourceforge.net/projects/watch/?

    Thomas> I could do it, although it seems a little work is stil required to port
    Thomas> watch to Windows:
    ...
    Thomas>     self.output = open("/dev/null", "w")
    Thomas> IOError: [Errno 2] No such file or directory: '/dev/null'
    >> c:\python23\scripts\watch.py(235)__init__()

That's odd.  I've run this lots on Windows in my previous job, and not
always in debug mode.  I'll fix that.  Is sys.stderr going to be broken on
Windows?  That is, should I use something other than sys.stderr for debug
output?

Thx,

Skip



More information about the Python-list mailing list