[Tutor] Fwd: Can tempfile.NamedTemporaryFile(delete=False) be used to create *permanent* uniquely named files?
Mats Wichmann
mats at wichmann.us
Mon Oct 22 12:56:38 EDT 2018
On 10/22/18 8:24 AM, boB Stepp wrote:
> Forwarding to the Tutor list. Herr Maier offers a good idea that
> would take away much of a remaining issue -- the name "Temporary". I
> need to look into the functools library to see what "partial" does.
if you really don't care what the file is called because you will
maintain a map which leads you to the filename, you might as well use a
uuid.
More information about the Tutor
mailing list