[issue476138] tempfile behavior across platforms

2022-04-10 Thread admin
Change by admin : -- github: None -> 35424 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: tempfile behavior

2007-08-10 Thread greg
Marc 'BlackJack' Rintsch wrote: File descriptors are integers. It's a low level C thing. Either use the low level functions in `os` or open the file with the `filename`. In particular, os.fdopen(fd) will give you a file object. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

tempfile behavior

2007-08-09 Thread billiejoex
Hi all, I would like to use tempfile module to generate files having unique names excepting that I don't want them to be removed after closing. Does it is possible? -- http://mail.python.org/mailman/listinfo/python-list

Re: tempfile behavior

2007-08-09 Thread half . italian
On Aug 9, 11:21 am, billiejoex [EMAIL PROTECTED] wrote: Hi all, I would like to use tempfile module to generate files having unique names excepting that I don't want them to be removed after closing. Does it is possible? Looks like tempfile.mkstemp() will do what you want. '''Unlike

Re: tempfile behavior

2007-08-09 Thread billiejoex
On 9 Ago, 20:31, [EMAIL PROTECTED] wrote: On Aug 9, 11:21 am, billiejoex [EMAIL PROTECTED] wrote: Hi all, I would like to use tempfile module to generate files having unique names excepting that I don't want them to be removed after closing. Does it is possible? Looks like

Re: tempfile behavior

2007-08-09 Thread Marc 'BlackJack' Rintsch
On Thu, 09 Aug 2007 12:47:10 -0700, billiejoex wrote: fd, filename = tempfile.mkstemp() type(fd) type 'int' I would expect a file descriptor, not and integer. How do I have to use it? File descriptors are integers. It's a low level C thing. Either use the low level functions in `os` or