💾 Archived View for tris.fyi › pydoc › nturl2path captured on 2022-01-08 at 13:41:28. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Convert a NT pathname to a file URL and vice versa. This module only exists to provide OS-specific code for urllib.requests, thus do not use directly.
pathname2url(p) OS-specific conversion from a file system path to a relative URL of the 'file' scheme; not recommended for general use.
url2pathname(url) OS-specific conversion from a relative URL of the 'file' scheme to a file system path; not recommended for general use.