[top] / urllib / pathname2url
pathname2url(pathname)
OS-specific conversion from a file system path to a relative URL of the file scheme; not recommended for general use.
file