Escaping the unsafe characters in filepaths can be achieved using urllib.quote (http://docs.python.org/library/urllib.html#urllib.quote).
Escaping the unsafe characters in filepaths can be achieved using urllib.quote (http:// docs.python. org/library/ urllib. html#urllib. quote).