How to remove bad path characters in Python?
How to remove bad path characters in Python? Question: What is the most cross platform way of removing bad path characters (e.g. “” or “:” on Windows) in Python? Solution Because there seems to be no ideal solution I decided to be relatively restrictive and did use the following code: def remove(value, deletechars): for c …
Total answers: 5