Is there a way to securely overwrite a file fed into a Python Script?
How would I go about overwriting a file (not the text inside the file) with random characters? I know you can do this pretty easily in other languages but I haven't found anything super helpful in regards to Python.
By "secure" I'm referring to overwriting the file contents.
I'd prefer not to use a library but either way works.