Ben Finney schreef op 2016-02-14 22:46:
How should a program generate a unique filesystem path and *not* create the filesystem entry?
> ...
What standard library function should I be using to generate ‘tempfile.mktemp’-like unique paths, and *not* ever create a real file by that path?
Use uuid.uuid1()? -- The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom. -- Isaac Asimov Roel Schroeven -- https://mail.python.org/mailman/listinfo/python-list