Apr-17-2020, 11:47 PM
i want to create my own file-like object that behaves by renaming a file to be written to append a unique temporary string to the created name and on close to close the open file and rename the temporary file name to the given one. this could also do meaningful checks to be sure that permission is such that the rename is allowed, or raising an exception at open time instead of getting it at close time.
your suggestions?
your suggestions?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.