Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102978 > unrolled thread

Re: Make a unique filesystem path, without creating the file

Started byBen Finney <ben+python@benfinney.id.au>
First post2016-02-16 12:53 +1100
Last post2016-02-16 12:53 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Make a unique filesystem path, without creating the file Ben Finney <ben+python@benfinney.id.au> - 2016-02-16 12:53 +1100

#102978 — Re: Make a unique filesystem path, without creating the file

FromBen Finney <ben+python@benfinney.id.au>
Date2016-02-16 12:53 +1100
SubjectRe: Make a unique filesystem path, without creating the file
Message-ID<mailman.151.1455587648.22075.python-list@python.org>
Roel Schroeven <roel@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web