On 21Oct2018 10:55, Peter Otten <__pete...@web.de> wrote:
boB Stepp wrote:
So I am now wondering if using
tempfile.NamedTemporaryFile(delete=False) would solve this problem
nicely? As I am not very familiar with this library, are there any
unforeseen issues I should be made aware of? Would this work equally
well on all operating systems?
I think this is cool thinking outside of the box.
I would not have "dared" this, but now you suggest it I cannot see anything
wrong with your approach.
The doco for mktemp (do not use! use mkstemp or the NamedTemporaryFile
classes instead!) explicitly mentions using delete=False.
Cheers,
Cameron Simpson <c...@cskk.id.au>
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor