Make a unique filesystem path, without creating the file
dan at tombstonezero.net
Sun Feb 14 20:07:00 EST 2016
On Mon, 15 Feb 2016 11:08:52 +1100, Ben Finney wrote:
> I am unconcerned with whether there is a real filesystem entry of that
> name; the goal entails having no filesystem activity for this. I want
> a valid unique filesystem path, without touching the filesystem.
That's an odd use case.
If it's really just one valid filesystem path (your original post said
*paths*, plural), then how about __file__? or os.__file__?
More information about the Python-list