[Python-ideas] tempfile.TemporaryDirectory() should be able to create temporary directory at a given arbitrary place
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
> Code of Conduct: http://python.org/psf/codeofconduct/
thank you very much. ;-) I was lost in documentation... and did not find
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas