Message60507
Logged In: YES
user_id=31435
Just noting that "the usual" way to determine whether you're
running under pythonw is to see whether
sys.executable.endswith("pythonw.exe")
The usual way to get a do-nothing file object on Windows is
to open the special (to Windows) file named "nul" (that's akin
to opening the special file /dev/null on Unixish boxes).
Note that file('nul').fileno() does return a handle on Windows,
despite that it's not a file in the filesystem. |
|
Date |
User |
Action |
Args |
2008-01-20 09:56:57 | admin | link | issue973507 messages |
2008-01-20 09:56:57 | admin | create | |
|