What is the most cross platform way of removing bad path characters (e.g. \"\\\" or \":\" on Windows) in Python?
Because there seems to be no idea
That character is in os.sep, it'll be "\" or ":", depending on which system you're on.
os.sep