So fügen Sie illegale Charaktere zu Pfaden Python hinzu

invalid = '<>:"/\|?* '

for char in invalid:
	filename = filename.replace(char, '')
	
print filename
Obnoxious Oryx