On Mar 23, 3:33 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > import msvcrt > fh = msvcrt.get_osfhandle(f.fileno()) .. > example.filetest(fh) > f.close()
Cool, that looks great, Gabriel. But is there any way I can hide the get_osfhandle call inside my Python module? That way I wouldn't need to request end users to make contorted 'if platform.system()=="Windows"' calls everywhere. Maybe this *is* workable, after all :-) -- http://mail.python.org/mailman/listinfo/python-list