Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102975
| From | Roel Schroeven <roel@roelschroeven.net> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Make a unique filesystem path, without creating the file |
| Date | 2016-02-15 23:22 +0100 |
| Message-ID | <mailman.148.1455574986.22075.python-list@python.org> (permalink) |
| References | <85r3gf55k4.fsf@benfinney.id.au> |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Make a unique filesystem path, without creating the file Roel Schroeven <roel@roelschroeven.net> - 2016-02-15 23:22 +0100
csiph-web