def makeSafeFilename( someName:str ) -> str:
    """
    Replaces potentially unsafe characters in a name to make it suitable for a filename.

    NOTE: This leaves spaces as they were.
    """
    return someName.replace('/','-') \
        .replace('\\','_BACKSLASH_').replace(':','_COLON_').replace(';','_SEMICOLON_') \
        .replace('#','_HASH_').replace('?','_QUESTIONMARK_').replace('*','_ASTERISK_') \
        .replace('<','_LT_').replace('>','_GT_')