💾 Archived View for tris.fyi › pydoc › nturl2path captured on 2022-07-16 at 14:55:55. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-01-08)
-=-=-=-=-=-=-
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.