[Python-ideas] tempfile.TemporaryDirectory() should be able to create temporary directory at a given arbitrary place

George Fischhof george at fischhof.hu
Tue Jul 18 08:14:14 EDT 2017

2017-07-18 14:06 GMT+02:00 Serhiy Storchaka <storchaka at gmail.com>:

> 18.07.17 14:55, George Fischhof пише:
>> I used tempfile.TemporaryDirectory(). On first usage it was good, but on
>> second one there was a need to create tempopray directory and files in it a
>> given place. (It needed for a test).
>> And I found that TemporaryDirectory() is not able to do this. So my idea
>> is to implement this behaviour with an addittional path parameter in it.
> You can pass the dir argument to TemporaryDirectory().
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/

Hi Serhiy,

thank you very much. ;-) I was lost in documentation... and did not find

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170718/bbafdac7/attachment.html>

More information about the Python-ideas mailing list