guido van rossum hoaufpythonorg id much happier standard api tempfilepy wouldnt understand fdopen example wrong btw open mode would something like rb wb mon apr 28 2008 435 pm wrote guido imo mkstemp major pain use raw file guido descriptors return value id much rather recommend guido namedtemporaryfile return streams fd fname tempfilemkstemp f osfdopenfd seems fairly straightforward skip guido van rossum home page httpwwwpythonorgguido _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 195906 0700 pythondev warn mktemp