Is it possible to create a file in Python with a given expiration date (let's say around one week)?
I gave a look at tempfile
, but - if I'm not wrong - the files created by thet are destroyed as soon as they get closed.
As a bonus question, if the only way was to do this manually, which is the best practice to store package-related files? Where should I store them?