def safe_filename(s):
    RESERVED_CHARS = '[]/\\;,><&*:%=+@!#^|?^\\"\''
    return ''.join([c for c in s if (c not in RESERVED_CHARS)])
def safe_filename(s):
    RESERVED_CHARS = '[]/\\;,><&*:%=+@!#^|?^\\"\
    return .join([c for c in s if (c not in RESERVED_CHARS)])