Make a unique filesystem path, without creating the file
Ben Finney
ben+python at benfinney.id.au
Mon Feb 15 20:53:59 EST 2016
Roel Schroeven <roel at roelschroeven.net> writes:
> Use uuid.uuid1()?
That has potential. A little counter-intuitive, for use in documentation
about testing filesystem paths; but not frightening or dubious to the
conscientious reader.
I'll see whether that meets this use case, thank you.
The bug report (to make a supported ‘tempfile’ API for generating
filesystem paths only) remains, and fixing that would be the correct way
to address this IMO.
--
\ “I used to be a proofreader for a skywriting company.” —Steven |
`\ Wright |
_o__) |
Ben Finney
More information about the Python-list
mailing list