Re: Question about file handles and windows handles @ Windows Operating Systems

2007-05-08 Thread Martin v. Löwis
> Are there any function to get windows handle of file which is already > opened with built-in file-function. mscvrt.get_osfhandle HTH, Martin -- http://mail.python.org/mailman/listinfo/python-list

Question about file handles and windows handles @ Windows Operating Systems

2007-05-08 Thread eino
Very hard to find right function... If I open file fname="c:\\temp\\foobar.txt" file_foobar = file(fname) file_foobar.fileno() returns 3 becausee of unix like library used in windows python If I'd like to get to known what windows handle it has hfile=win32file.CreateFile( ff,win32con.GEN