how to add illegal characters to paths python

Solutions on MaxInterview for how to add illegal characters to paths python by the best coders in the world

showing results for - "how to add illegal characters to paths python"
Anne
26 Jul 2019
1invalid = '<>:"/\|?* '
2
3for char in invalid:
4	filename = filename.replace(char, '')
5	
6print filename
7
similar questions