def clean_restricted_chars(path, restricted_chars=restricted_chars):
for character in restricted_chars:<EOL><INDENT>path = path.replace(character, '<STR_LIT:_>')<EOL><DEDENT>return path<EOL>
Get path without restricted characters.

:param path: path
:return: path without restricted characters
:rtype: str or unicode (depending on given path)