On this page
  1. ntpath.join
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

ntpath.join

Prev: ntpath.isreserved | Up: ntpath | Next: ntpath.lexists
Rel: ntpath.abspath, ntpath.basename, ntpath.commonpath, ntpath.commonprefix
Ref: docs.python.org — ntpath.join
Tags: #public #python3 #stdlib #ntpath


Import

import ntpath
from ntpath import join

Signature & Overview

ntpath.join(path, *paths)

ntpath.join() function.

Usage

import ntpath

assert ntpath.join(r'C:\Users', 'Ada', 'a.txt') == r'C:\Users\Ada\a.txt'

Gotchas

REPL Inspect

from ntpath import join
help(join)

Linked from

Related notes