I've got slight problem with os.tmpfile(). What I would like to do is to get
the filedesc of tmpfile.
First approach:
os.tmpfile().fileno() of course does not work out, because fileno() does not
keep object alive. The solution is to keep os.tmpfile() result somewhere for
an arbitrary amount of
This seems a question for comp.lang.python or [EMAIL PROTECTED] (does
that still exist?).
Also, you might consider the APIs available in the tempfile module
rather than os.tempfile().
On 8/7/07, Maciej Fijalkowski [EMAIL PROTECTED] wrote:
I've got slight problem with os.tmpfile(). What I would