ID EN
Urllib Request

url2pathname

Python 3.11

Convert the path component path from a percent-encoded URL to the local syntax for a path. This does not accept a complete URL. This function uses unquote() to decode path.

Syntax

PYTHON
urllib.request.url2pathname(path)

See Also

unquote()