Why Nostr? What is Njump?
2024-12-13 02:17:36

Paul Hoffman on Nostr: #python friends: pathlib has inherited the functionality of lots of things from os ...

#python friends: pathlib has inherited the functionality of lots of things from os and os.path, but not from tempfile. Shouldn't there be something like Path.mkstemp() and Path.mkdtemp() or, at a minimum, Path.gettempdir()? It's not hard to do this as a two-step, but it just seems like it should have been there by now.
Author Public Key
npub1c87rmqvkn8fpcaamww3g8njn72t235s50a6qdpdrt2w5894vc8aqays0rw