Function
urllib.url2pathname

Signature

url2pathname(pathname)

Documentation String

OS-specific conversion from a relative URL of the file scheme to a file system path; not recommended for general use.