Make a unique filesystem path, without creating the file

Ben Finney ben+python at
Tue Feb 16 14:40:20 EST 2016

Oscar Benjamin <oscar.j.benjamin at> writes:

> If you're going to patch open to return a fake file when asked to open
> fake_file_path why do you care whether there is a real file of that
> name?

I don't, and have been saying explicitly many times in this thread that
I do not care whether the file exists. Somehow that is still not clear?

 \       “Nothing exists except atoms and empty space; everything else |
  `\                    is opinion.” —Democritus, c. 460 BCE – 370 BCE |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list