Turn a string into a valid filename?
I have a string that I want to use as a filename, so I want to remove all characters that wouldn’t be allowed in filenames, using Python.
I have a string that I want to use as a filename, so I want to remove all characters that wouldn’t be allowed in filenames, using Python.